Re: Password with libpq

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Tony and Bryn Reina" <reina_ga(at)hotmail(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Password with libpq
Date: 2004-06-28 17:22:23
Message-ID: 200406281922.23025.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruno Wolff III 2004-06-28 18:25:13 Re: Recover from a media failure
Previous Message Jose Almeida 2004-06-28 16:49:21 Recover from a media failure