Re: Sharing /etc/passwd with PostgreSQL

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:34:27
Message-ID: 20090820153427.GG6261@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2009-08-20 15:37:42 Re: Sharing /etc/passwd with PostgreSQL
Previous Message Dick Visser 2009-08-20 14:39:08 (no subject)