OSDN Git Service

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:34 +0000 (18:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 25 Mar 2005 18:04:34 +0000 (18:04 +0000)
commit410fede0dd8e2effd05aa97baba9fe0fbb23b915
treed9a25d96cab31625230c27ee1fba4f2dae6646ff
parent6d3f74d80190eb8da873b06aec24966f5921766e
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