Re: Sharing /etc/passwd with PostgreSQL - Mailing list pgsql-admin

From Alvaro Herrera
Subject Re: Sharing /etc/passwd with PostgreSQL
Date
Msg-id 20090820153427.GG6261@alvh.no-ip.org
Whole thread Raw
In response to Re: Sharing /etc/passwd with PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Sharing /etc/passwd with PostgreSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Dick Visser
Date:
Subject: (no subject)
Next
From: Tom Lane
Date:
Subject: Re: Sharing /etc/passwd with PostgreSQL