From: Peter Eisentraut <peter_e@gmx.net>
To: Tony and Bryn Reina <reina_ga@hotmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Password with libpq
Date: Mon, 28 Jun 2004 19:22:23 +0200
Message-ID: <200406281922.23025.peter_e@gmx.net> (raw)
In-Reply-To: <BAY8-DAV37llSDcVjYC0003e64d@hotmail.com>
References: <272e4be7.0406270913.7a65f99f@posting.google.com>
<14320.1088374357@sss.pgh.pa.us>
<BAY8-DAV37llSDcVjYC0003e64d@hotmail.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: peter_e@gmx.net, reina_ga@hotmail.com, tgl@sss.pgh.pa.us
Subject: Re: Password with libpq
In-Reply-To: <200406281922.23025.peter_e@gmx.net>
References: <272e4be7.0406270913.7a65f99f@posting.google.com> <14320.1088374357@sss.pgh.pa.us> <BAY8-DAV37llSDcVjYC0003e64d@hotmail.com> <200406281922.23025.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox