Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 274568

Summary: dev-db/postgresql-8.2*: wrong pg_ctl parameter
Product: Gentoo Linux Reporter: Euler Taveira de Oliveira <euler>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch that fixes the problem

Description Euler Taveira de Oliveira 2009-06-17 23:08:58 UTC
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 ~ #
Comment 1 Euler Taveira de Oliveira 2009-06-17 23:11:34 UTC
Created attachment 195032 [details, diff]
patch that fixes the problem
Comment 2 Aaron W. Swenson gentoo-dev 2010-03-24 00:08:25 UTC
Addressed in bug #311047
Comment 3 Patrick Lauer gentoo-dev 2010-06-04 14:21:12 UTC
Committed