Fix two bugs in change_owner_recurse_to_sequences: it was grabbing an
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Mar 2005 18:04:47 +0000 (18:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Mar 2005 18:04:47 +0000 (18:04 +0000)
commit9ce503b99210d728a287318d9822708c096d74d3
tree671143b39a21b500c1f6448a1343d2427011d26a
parentdb9774ac1f76cff5873ffa2b203854173c809e9d
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.
src/backend/commands/tablecmds.c