]> 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:18 +0000 (21:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 12 Mar 2005 21:12:18 +0000 (21:12 +0000)
commit80fba0f8eeff2e9aaa37ad4a86103a0b600df75c
treee6df3862aaae9ca2a8137a267664fc67515aa64b
parent2450224e6bd10563188985a26d54c2c3d091a223
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