Обсуждение: pgsql: ALTER AGGREGATE OWNER seems to have been missed by the last

Поиск
Список
Период
Сортировка

pgsql: ALTER AGGREGATE OWNER seems to have been missed by the last

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        aggregatecmds.c (r1.30.2.1 -> r1.30.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/aggregatecmds.c?r1=1.30.2.1&r2=1.30.2.2)