Re: Change authentication error message (patch) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Change authentication error message (patch)
Date
Msg-id 20140124025252.GA8993@momjian.us
Whole thread Raw
In response to Re: Change authentication error message (patch)  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Change authentication error message (patch)
List pgsql-hackers
On Wed, Jun 19, 2013 at 01:27:39PM -0700, Joshua D. Drake wrote:
>
> On 06/19/2013 01:18 PM, Markus Wanner wrote:
>
> >>"Authentication failed or password has expired for user \"%s\""
> >>
> >>Authentication failed covers any combination of a username/password
> >>being wrong and obviously password expired covers the other.
> >
> >Works for me. Considering the password to be the thing that expires
> >(rather than the account) is probably more accurate as well.
>
> It is also how it is worded in the docs (which is why I used it).
> Patch below.

I have developed the attached patch to fix this problem.  Do I need to
say "invalid user or invalid or expired password"?
     ---------------

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Attachment

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: GIN improvements part2: fast scan
Next
From: Craig Ringer
Date:
Subject: Re: [v9.4] row level security