Re: BUG #17249: Bug in .pgpass search and/or documentation thereof, Ubuntu 13.4-4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17249: Bug in .pgpass search and/or documentation thereof, Ubuntu 13.4-4
Дата
Msg-id 488035.1635437847@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17249: Bug in .pgpass search and/or documentation thereof, Ubuntu 13.4-4  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Your original email demonstrates that, absent -h localhost, psql is looking
> for and finding a local socket and thus the first matching entry is a
> "local" one which does not require password entry because it is set for
> "peer".  This is working as intended.

Indeed.  If you don't like the results you're getting, you need to go
adjust your pg_hba.conf file.  Right now, you've got it set to apply
different authentication rules for Unix-socket and localhost connections,
and you apparently don't want that.

            regards, tom lane



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #17249: Bug in .pgpass search and/or documentation thereof, Ubuntu 13.4-4
Следующее
От: Savita Naik
Дата:
Сообщение: Error in 'FROM' function