BUG #5386: HBA rejection error message incorrect

Started by Bryan Hendersonabout 16 years ago2 messagesbugs
Jump to latest
#1Bryan Henderson
bryanh@giraffe-data.com

The following bug has been logged online:

Bug reference: 5386
Logged by: Bryan Henderson
Email address: bryanh@giraffe-data.com
PostgreSQL version: 8.4.3
Operating system: Linux
Description: HBA rejection error message incorrect
Details:

The two usernames are reversed in the error message "provided username (foo)
and authenticated username (bar) don't match".

src/backend/libpq/hba.c:1676

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bryan Henderson (#1)
Re: BUG #5386: HBA rejection error message incorrect

"Bryan Henderson" <bryanh@giraffe-data.com> writes:

The two usernames are reversed in the error message "provided username (foo)
and authenticated username (bar) don't match".

Hm, yeah, I think you're right. This message is new in 8.4, which
explains why it wasn't noticed long ago.

regards, tom lane