ALTER AGGREGATE OWNER seems to have been missed by the last couple of

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 395f8b91dbd7093d2981f2168777702e8aaa6b38
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-06-08T21:09:48Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/backend/commands/aggregatecmds.c modified +3 −51