Re: pg_ctl -w vs unix_socket_directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl -w vs unix_socket_directory
Дата
Msg-id 11786.1190157231@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_ctl -w vs unix_socket_directory  (Radoslaw Zielinski <radek42@gmail.com>)
Ответы Re: pg_ctl -w vs unix_socket_directory  ("Radosław Zieliński" <radek42@gmail.com>)
Re: pg_ctl -w vs unix_socket_directory  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Radoslaw Zielinski <radek42@gmail.com> writes:
> "pg_ctl -w -D ... start" doesn't work when unix_socket_directory is set
> to somewhere else than the compiled in default ("/tmp").

pg_ctl not working is going to be the very least of your worries;
pretty much nothing else will either.

If you want some other socket directory, I strongly recommend setting
the path to it at compile time so that it's properly wired into libpq.
AFAICS the only value in specifying unix_socket_directory at server
start is if you actually *want* a stealth server that won't be found
by clients without manual intervention.
        regards, tom lane


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

Предыдущее
От: Radoslaw Zielinski
Дата:
Сообщение: Re: pg_ctl -w vs unix_socket_directory
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_ctl -w vs unix_socket_directory