Re: Password with libpq - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: Password with libpq
Date
Msg-id 200406281922.23025.peter_e@gmx.net
Whole thread Raw
In response to Re: Password with libpq  ("Tony and Bryn Reina" <reina_ga@hotmail.com>)
List pgsql-admin
Tony and Bryn Reina wrote:
> Thanks Tom. I found the relevant bit of code in the psql files. Looks
> like it's just a simple loop that compares the error with the phrase
> "fe_sendauth: no password supplied" and then prompts for the password
> and tries again. Of course, if someone in the future decides to
> change the error message, then the code gets broke. I doubt that's
> likely however.

Eventually, we should introduce error codes for this situation.


pgsql-admin by date:

Previous
From: Jose Almeida
Date:
Subject: Recover from a media failure
Next
From: Bruno Wolff III
Date:
Subject: Re: Recover from a media failure