Re: Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql? - Mailing list pgsql-hackers

From Dave Page
Subject Re: Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql?
Date
Msg-id 475968FD.6090806@postgresql.org
Whole thread Raw
In response to Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql?  (Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>)
Responses Re: Possible PostgreSQL 8.3beta4 bug with MD5 authentication in psql?
List pgsql-hackers
Mark Cave-Ayland wrote:
> Hmmmm. So even though PGPASSWORD is set (and the command works if the
> database exists within the cluster), if I specify a non-existent
> database then I still get prompted for a password.

Just to add a note to that - when running it in the same shell from 
which I started the server with messages going to stdout, it seemed 
clear that it trys to connect once using PGPASSWORD, then when that 
fails, it prompts for the password instead, and then tries to connect 
with that and fails a second time.

/D


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with ControlFileData structure being ABI depe ndent
Next
From: Dave Page
Date:
Subject: Re: Problem with ControlFileData structure being ABI depe ndent