]> granicus.if.org Git - postgresql/commit
ALTER AGGREGATE OWNER seems to have been missed by the last couple of
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Jun 2008 21:09:59 +0000 (21:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Jun 2008 21:09:59 +0000 (21:09 +0000)
commitaf55dc839bf819fc8c6aef32fda7816477be6db0
tree32d38de12fc88eeb6f3c3d45d4e8110bd73e0ec5
parent742627a27e925a8175580229d9ba62f7adfd1a6a
ALTER AGGREGATE OWNER seems to have been missed by the last couple of
patches that dealt with object ownership.  It wasn't updating pg_shdepend
nor adjusting the aggregate's ACL.  In 8.2 and up, fix this permanently
by making it use AlterFunctionOwner_oid.  In 8.1, the function code wasn't
factored that way, so just copy and paste.
src/backend/commands/aggregatecmds.c