Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274568 - dev-db/postgresql-8.2*: wrong pg_ctl parameter
Summary: dev-db/postgresql-8.2*: wrong pg_ctl parameter
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 23:08 UTC by Euler Taveira de Oliveira
Modified: 2010-06-04 14:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch that fixes the problem (82.diff,464 bytes, patch)
2009-06-17 23:11 UTC, Euler Taveira de Oliveira
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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