]> granicus.if.org Git - postgresql/commit
Fix ALTER DATABASE RENAME to allow the operation if user is a superuser
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Mar 2005 21:12:05 +0000 (21:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Mar 2005 21:12:05 +0000 (21:12 +0000)
commitb3dbaab1e95d43e106e805b3e19666c435470c43
treed5ba750792f95164e6e5d62d2b8114f4873aa8a9
parent8806b09b822238d448f9bd4900307b101fccd2ff
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().
src/backend/commands/dbcommands.c