Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket
Дата
Msg-id 53EF7D74.8080704@hogranch.com
обсуждение исходный текст
Ответ на change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket  (lin <jluwln@163.com>)
Ответы Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket  (Steve Atkins <steve@blighty.com>)
Список pgsql-general
On 8/16/2014 8:41 AM, lin wrote:
> I change the value of "unix_socket_directories" in postgresql.conf ,
> then restart the database, but it cannot connect the database used
> like this
> "psql -d postgres -p 5432" , it must given the parameter " -h /xx/xx"
> to use the Unix domain socket。
> how to fix this issue ?

the client has no access to postgresql.conf, it has no idea you changed
it. the default value is baked into libpq.so at compile time.



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: lin
Дата:
Сообщение: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket