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

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

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