Invalid error message when user has nologin attibute

Lists: pgsql-general
From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: pgsql-general(at)postgresql(dot)org
Subject: Invalid error message when user has nologin attibute
Date: 2007-10-11 12:07:55
Message-ID: fel3nh$2lta$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

When user login has disabled by

CREATE USER .... NOLOGIN

Postgres 8.2 returns "Password authentication failure" error message on
login.
This is very confusing to users.

How to force Postgres to return message like in Windows:

Login is disabled.

?

Andrus.