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

From Tom Lane
Subject Re: Sharing /etc/passwd with PostgreSQL
Date
Msg-id 14921.1250782662@sss.pgh.pa.us
Whole thread Raw
In response to Re: Sharing /etc/passwd with PostgreSQL  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Sharing /etc/passwd with PostgreSQL  (Bruce Momjian <bruce@momjian.us>)
List pgsql-admin
Alvaro Herrera <alvherre@commandprompt.com> writes:
> 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.

Can we do something like
    ERROR: password authentication failed (using password from .pgpass)
ie, just tack on a comment to the error message?

            regards, tom lane

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Sharing /etc/passwd with PostgreSQL
Next
From: Emanuel Calvo Franco
Date:
Subject: Re: Duplicated keys in PITR