Re: Bug with pg_ctl -w/wait and config-only directories - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Bug with pg_ctl -w/wait and config-only directories
Date
Msg-id 1317673893-sup-8147@alvh.no-ip.org
Whole thread Raw
In response to Re: Bug with pg_ctl -w/wait and config-only directories  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Bug with pg_ctl -w/wait and config-only directories  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Excerpts from Bruce Momjian's message of lun oct 03 17:28:53 -0300 2011:
> 
> Alvaro Herrera wrote:

> > Well, we have the Gentoo developer in this very thread.  I'm sure they
> > would fix their command line if we gave them a pg_ctl that worked.
> > Surely the package that contains the init script also contains pg_ctl,
> > so they would both be upgraded simultaneously.
> 
> What is the fix?  If they started the server by using --data-directory,
> pg_ctl stop has no way to find the postmaster.pid file, and hence stop
> the server.  Are you suggesting we remove this ability?

I am suggesting they don't start it by using --data-directory in the
first place.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Bug with pg_ctl -w/wait and config-only directories
Next
From: Robert Haas
Date:
Subject: Re: [REVIEW] pg_last_xact_insert_timestamp