Re: Strange behaviour with Xfs filesystem and unix_socket_directory

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange behaviour with Xfs filesystem and unix_socket_directory
Дата
Msg-id 9419.1185288138@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Strange behaviour with Xfs filesystem and unix_socket_directory  (Denis Gasparin <denis@edistar.com>)
Ответы Re: Strange behaviour with Xfs filesystem and unix_socket_directory  (Denis Gasparin <denis@edistar.com>)
Список pgsql-general
Denis Gasparin <denis@edistar.com> writes:
> We configured the unix_socket_directory in postgresql.conf to point to a
> folder in a xfs filesystem.

I don't think pg_ctl can deal with nondefault settings of
unix_socket_directory, because it does not make any attempt to parse the
postmaster's postgresql.conf file.  So it's still trying to contact the
postmaster in /tmp, and of course not seeing any evidence the postmaster
is up.

You'll find that most other clients fail similarly.

You might be able to make it work if you set PGHOST to the socket
directory before running pg_ctl (and other clients).  But I think
if you really want this, you would be best advised to alter the default
socket directory at build time, instead (see DEFAULT_PGSOCKET_DIR in
pg_config_manual.h).

            regards, tom lane

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

Предыдущее
От: "Dawid Kuroczko"
Дата:
Сообщение: Re: varchar does not work too well with IS NOT NULL partial indexes.
Следующее
От: Joe L
Дата:
Сообщение: Silent Uninstall of Postgres