.pgpass file and unix domain sockets

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема .pgpass file and unix domain sockets
Дата
Msg-id 20060510225425.GA4944@mcknight.de
обсуждение исходный текст
Ответы Re: .pgpass file and unix domain sockets  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The documentation for the .pgpass file seems to be incorrect with respect to
unix domain sockets.

There's also a user comment saying that:

http://www.postgresql.org/docs/8.1/interactive/libpq-pgpass.html

The documentation suggests that the hostname part of .pgpass can be set to
"localhost" to allow for automatic unix domain socket authentication. This
doesn't seem to work. Instead you have to set the directory of the socket as
the hostname part.

If this was never supposed to actually work as described, I'll submit a doc
patch that also explains in more detail how to use .pgpass for unix sockets.


Joachim



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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: sblock state on FreeBSD 6.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORM] Big IN() clauses etc : feature proposal