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:11:50 +0000 (21:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Mar 2005 21:11:50 +0000 (21:11 +0000)
commitc7bbe99452c20d76da58a12b529164719bf798b8
tree328038e8ddec54bb9ef226c1eca8254b71cb6ca6
parentfa5e44017a8cea141d1730e695c5cc2051158114
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