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

From Bruce Momjian
Subject Re: pg_ctl and port number detection
Date
Msg-id 201012210243.oBL2h6L18345@momjian.us
Whole thread Raw
In response to Re: pg_ctl and port number detection  (Florian Pflug <fgp@phlo.org>)
List pgsql-hackers
Florian Pflug wrote:
> On Dec21, 2010, at 03:04 , Bruce Momjian wrote:
> > 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?
> > 
> > I am curious about the use of the socketdir.  What can that be used for?
> 
> If it's non-default and you want to connect via unix sockets, just knowing
> the port won't help much.

Ah, so pg_ctl is going to use that information too --- good point!

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Florian Pflug
Date:
Subject: Re: pg_ctl and port number detection
Next
From: Tomáš Mudruňka
Date:
Subject: [FeatureRequest] Base Convert Function