Re: pg_ctl and port number detection

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <bruce@momjian.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-12-20T17:54:11Z
Lists: 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