Re: unix_socket_directory isn't used by all bin tools

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: unix_socket_directory isn't used by all bin tools
Дата
Msg-id Pine.LNX.4.30.0103301703010.1063-100000@peter.localdomain
обсуждение исходный текст
Ответ на unix_socket_directory isn't used by all bin tools  (pgsql-bugs@postgresql.org)
Ответы Re: unix_socket_directory isn't used by all bin tools
Список pgsql-bugs
> Jerome Alet (alet@unice.fr) reports a bug with a severity of 2
> The lower the number the more severe it is.

> I've defined unix_socket_directory to be /var/lib/postgres
> in /var/lib/data/postgresql.conf
>
> it seems that at least createuser doesn't take care of this directory
> setting, because it searches the socket exclusively in /tmp, so it
> fails asking whether postmaster is running or not.

The configuration file is only for the server; the clients don't see it.
Client tools can use the PGHOST environment variable or the -h option, or
whatever else the client has implemented.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pq_shadow
Следующее
От: "Joe Shevland"
Дата:
Сообщение: RE: [JDBC] Possible large object bug?