The following pg_ctl parameter '-t' is only available for 8.3. I'm attaching a patch that uses the start-stop-daemon as the 8.1 ebuild. It is the only way to emulate the timeout that -t provides in 8.3. Reproducible: Always Steps to Reproduce: harman ~ # /etc/init.d/postgresql-8.2 start * Starting PostgreSQL ... waiting for server to start.... done server started [ ok ] harman ~ # /etc/init.d/postgresql-8.2 stop * Stopping PostgreSQL (this can take up to 90 seconds) ... /usr/lib/postgresql-8.2/bin/pg_ctl: invalid option -- 't' Try "pg_ctl --help" for more information. * Some clients did not disconnect within 30 seconds. * Going to shutdown the server anyway. waiting for server to shut down.... done server stopped [ ok ] harman ~ #
Created attachment 195032 [details, diff] patch that fixes the problem
Addressed in bug #311047
Committed