Created attachment 454626 [details, diff] postgresql plperl.on_init patch After compiling postgres 9.1 on a cleanly built system with the default configuration file generated via --config the server would not start due to the following error: ---- * Caching service dependencies ... [ ok ] * /run/postgresql: correcting mode * Starting PostgreSQL ... FATAL: unrecognized configuration parameter "plperl.on_init" * start-stop-daemon: failed to start `/usr/lib64/postgresql-9.1/bin/postgres' * Check the log for a possible explanation of the above error. The log may be * /var/lib/postgresql/9.1/data/postmaster.log * Or wherever you configured PostgreSQL 9.1 log messages to be sent. [ !! ] * ERROR: postgresql-9.1 failed to start ---- According to the postgres 9.1 docs ( https://www.postgresql.org/docs/9.1/static/runtime-config-custom.html#GUC-CUSTOM-VARIABLE-CLASSES ) it appears that a `custom_variable_classes = 'plperl'` entry is needed. Also plperl is being added to the config regardless of perl support being enabled or not. The attached patch attempts to address this in the ebuild.
dev-db/postgresql-9.1 removed.