Thread: pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was

pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
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.

Modified Files:
--------------
    pgsql/src/backend/commands:
        tablecmds.c (r1.150 -> r1.151)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/tablecmds.c.diff?r1=1.150&r2=1.151)