From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Quan Zongliang <quanzongliang(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory |
Date: | 2010-12-22 01:24:12 |
Message-ID: | 1292980985-sup-5269@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
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(at)commandprompt(dot)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.
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Gurjeet Singh | 2010-12-22 01:29:46 | Re: strncmp->memcmp when we know the shorter length |
Previous Message | Fujii Masao | 2010-12-22 01:23:26 | Re: bug in SignalSomeChildren |