Re: Patch BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory - Mailing list pgsql-hackers

From Quan Zongliang
Subject Re: Patch BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory
Date
Msg-id 20101223232629.7239be91.quanzongliang@gmail.com
Whole thread Raw
In response to Re: Patch BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Wed, 22 Dec 2010 21:02:35 -0500 (EST)
Bruce Momjian <bruce@momjian.us> wrote:

> Alvaro Herrera wrote:
> > Excerpts from Quan Zongliang's message of mar dic 21 18:36:11 -0300 2010:
> > > On Mon, 29 Nov 2010 10:29:17 -0300
> > > Alvaro Herrera <alvherre@commandprompt.com> wrote:
> > > 
> > 
> > > > I think the way this should work is that you call postmaster with a new
> > > > switch and it prints out its configuration, after reading the
> > > > appropriate config file(s).  That way it handles all the little details
> > > > such as figuring out the correct config file, hadle include files, etc.
> > > > This output would be presumably easier to parse and more trustworthy.
> > > 
> > > Sorry for my late reply.
> > > 
> > > I will check the source of postmaster.
> > 
> > Actually Bruce Momjian is now working on a different fix:
> > unix_socket_directory would be added to postmaster.pid, allowing pg_ctl
> > to find it.
> 
> Yes, I will apply this patch tomorrow and it will be in 9.1.  Thanks for
> the report.
> 
Nice work.


-- 
Quan Zongliang <quanzongliang@gmail.com>


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Streaming replication as a separate permissions
Next
From: Tom Lane
Date:
Subject: Re: Why is sorting on two columns so slower thansortingon one column?