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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket
Дата
Msg-id 21108.1408207160@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
John R Pierce <pierce@hogranch.com> writes:
> On 8/16/2014 9:16 AM, Steve Atkins wrote:
>> Setting environment variables to point to your preferred instance will also work - and it'll work with any client
thatuses libpq (which is probably almost everything that's not java). 

> java/jdbc doesn't support unix domain sockets anyways, so that's moot
> for the OP's issue.

Another idea (which is also only for libpq-based apps) is to set up
a "service" file.

http://www.postgresql.org/docs/9.3/static/libpq-pgservice.html

            regards, tom lane


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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: change the value of "unix_socket_directories" , must used "-h /xx/xx" to use the Unix domain socket
Следующее
От: Redoute
Дата:
Сообщение: logfile character encoding