Re: pg_ctl and port number detection

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: pg_ctl and port number detection
Дата
Msg-id 6A50AD48-3EE9-41FC-B470-9DCF2399D695@phlo.org
обсуждение исходный текст
Ответ на Re: pg_ctl and port number detection  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pg_ctl and port number detection  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
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.

best regards,
Florian Pflug



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: proposal : cross-column stats
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_ctl and port number detection