pgsql: Include NOLOGIN roles in the 'flat' password file.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Include NOLOGIN roles in the 'flat' password file.
Date: 2007-10-15 15:11:29
Message-ID: 20071015151129.B7D14753F31@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Include NOLOGIN roles in the 'flat' password file. In the original
coding this was seen as useless, but the problem with not including them
is that the error message will often be something about authentication
failure, rather than the more helpful one about 'role is not permitted
to log in'. Per discussion.

Modified Files:
--------------
pgsql/src/backend/utils/init:
flatfiles.c (r1.27 -> r1.28)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/flatfiles.c?r1=1.27&r2=1.28)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-10-15 15:53:12 pgsql: Back-patch some plpython patches previously made only in HEAD:
Previous Message User Mkz 2007-10-15 14:54:29 pgbouncer - pgbouncer: bump ver to 1.1.1