Обсуждение: 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.

Modified Files:
--------------
    pgsql/src/backend/commands:
        aggregatecmds.c (r1.45 -> r1.46)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/aggregatecmds.c?r1=1.45&r2=1.46)