Re: Sharing /etc/passwd with PostgreSQL

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Sharing /etc/passwd with PostgreSQL
Дата
Msg-id 20090820153427.GG6261@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Sharing /etc/passwd with PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Sharing /etc/passwd with PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > BTW I notice that this does not work unless the client supplies the
> > password the first time around; psql does not retry.  It only works if I
> > do "psql -W".
>
> Huh, that sounds like a bug someplace.  Care to trace through it?

It had to do with me having a bogus password in .pgpass (so psql was
first trying empty password, then the one in .pgpass, and both failing).
Pilot error.  However, I'd say that we ought to give a notice if the
password in .pgpass fails.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Dick Visser
Дата:
Сообщение: (no subject)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Sharing /etc/passwd with PostgreSQL