pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a
Date: 2005-03-12 21:12:05
Message-ID: 20050312211205.7BA58563C3@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
dbcommands.c (r1.148 -> r1.148.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/dbcommands.c.diff?r1=1.148&r2=1.148.4.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-03-12 21:12:18 pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a
Previous Message Tom Lane 2005-03-12 21:11:50 pgsql: Fix ALTER DATABASE RENAME to allow the operation if user is a