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

From: Quan Zongliang <quanzongliang(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(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-21 21:36:11
Message-ID: 20101222063611.b8698787.quanzongliang@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 29 Nov 2010 10:29:17 -0300
Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:

> Excerpts from Quan Zongliang's message of sáb nov 27 06:03:12 -0300 2010:
> > Hi, all
> >
> > I created a pg_ctl patch to fix:
> > * BUG #5103: "pg_ctl -w (re)start" fails with custom unix_socket_directory
> > Allow pg_ctl to work properly with configuration files located outside the PGDATA directory
>
> 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.
>
> Right now we have --describe-config, which is missing the values for
> each config option.
>

Sorry for my late reply.

I will check the source of postmaster.

--
Quan Zongliang <quanzongliang(at)gmail(dot)com>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kenneth Marshall 2010-12-21 21:37:10 Re: [FeatureRequest] Base Convert Function
Previous Message Pavel Golub 2010-12-21 21:28:17 Re: [FeatureRequest] Base Convert Function