Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: pg_ctl and port number detection - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pg_ctl and port number detection
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: pg_ctl and port number detection  (Tom Lane <[email protected]>)
List pgsql-hackers

On 12/20/2010 12:41 PM, Tom Lane wrote:
>
> Actually, if we're going to do this at all, we should do
>
>     pid
>     datadir
>     port
>     socketdir
>     ... here be dragons ...
>
> so that pg_ctl doesn't have to assume the server is running with a
> default value of unix_socket_dir.  Not sure what to put in the fourth
> line on Windows though ... maybe just leave it empty?
>
>             

Yes, that seems reasonable.

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unlogged tables
Next
From: Robert Haas
Date:
Subject: Re: serializable lock consistency