OSDN Git Service

Fix unwanted denial of ALTER OWNER rights to superusers. There was some
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Aug 2005 17:38:20 +0000 (17:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Aug 2005 17:38:20 +0000 (17:38 +0000)
commitbf1e33d24a9611583595eb1c6cc2e7ce3fa01da4
treeb5e5df4c4556d631aae7cc3a3cb21489404d598c
parenta7f49252d2476cc5996b1e9dbb253cdc521fbb7f
Fix unwanted denial of ALTER OWNER rights to superusers.  There was some
discussion of getting around this by relaxing the checks made for regular
users, but I'm disinclined to toy with the security model right now,
so just special-case it for superusers where needed.
src/backend/commands/aggregatecmds.c
src/backend/commands/conversioncmds.c
src/backend/commands/dbcommands.c
src/backend/commands/functioncmds.c
src/backend/commands/opclasscmds.c
src/backend/commands/operatorcmds.c
src/backend/commands/schemacmds.c
src/backend/commands/tablecmds.c
src/backend/commands/typecmds.c