pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a
Date
Msg-id 20050312211218.6133352A5A@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix ALTER DATABASE RENAME to allow the operation if user is a superuser
who for some reason isn't marked usecreatedb.  Per report from Alexander
Pravking.  Also fix sloppy coding in have_createdb_privilege().

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        dbcommands.c (r1.124.2.1 -> r1.124.2.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.124.2.1&r2=1.124.2.2)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: When cloning template0 (or other fully-frozen databases), set the