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

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

Commit: 7603ca19680ac3a6a5dc60a51f536204230f8637
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-06-08T21:10:05Z
Releases: 8.1.13
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 +36 −5