Обсуждение: pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was

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

pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Fix two bugs in change_owner_recurse_to_sequences: it was grabbing an
overly strong lock on pg_depend, and it wasn't closing the rel when done.
The latter bug was masked by the ResourceOwner code, which is something
that should be changed.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.142.4.2 -> r1.142.4.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.142.4.2&r2=1.142.4.3)