Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group