]> 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:10:05 +0000 (21:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 8 Jun 2008 21:10:05 +0000 (21:10 +0000)
commit7603ca19680ac3a6a5dc60a51f536204230f8637
treebc7fef07aaa3031c8b3cecdae238c8d92c8222ff
parenta8690111f9aae6405a1f4c1280076ccda62c7485
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