Magnus Hagander <mag...@hagander.net> writes: > I took a quick look at the code, and from what I can tell this is > because PQconnectionNeedsPassword() always returns false if a > pgpass.conf has been used. There is no handling the case where pgpass > is used, but has an incorrect password.
Why should it? That code is complicated enough, I don't think it needs to have a behavior of pretending that a wrong entry isn't there. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers