Invalid error message when user has nologin attibute - Mailing list pgsql-general

From Andrus
Subject Invalid error message when user has nologin attibute
Date
Msg-id fel3nh$2lta$1@news.hub.org
Whole thread Raw
List 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.



pgsql-general by date:

Previous
From: "Akash Garg"
Date:
Subject: db errors
Next
From: wido
Date:
Subject: Re: Importing MySQL dump into PostgreSQL 8.2