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)
commit977fa0ecb25de0e8ae33c43b3363ff66cc7c7868
tree9f778620a987507506e3f9d7b158ee0feb88b7bf
parent01494ff6ea836f21e3348af2b43fb0f9abed556d
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