Re: Sharing /etc/passwd with PostgreSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Eamonn Martin <mas01em(at)gold(dot)ac(dot)uk>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Sharing /etc/passwd with PostgreSQL
Date: 2009-08-20 15:37:42
Message-ID: 14921.1250782662@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Emanuel Calvo Franco 2009-08-20 17:09:47 Re: Duplicated keys in PITR
Previous Message Alvaro Herrera 2009-08-20 15:34:27 Re: Sharing /etc/passwd with PostgreSQL