pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was
Date: 2005-03-25 18:04:34
Message-ID: 20050325180434.8B6F55379C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-03-25 18:04:48 pgsql: Fix two bugs in change_owner_recurse_to_sequences: it was
Previous Message Tom Lane 2005-03-25 16:39:04 pgsql: Update and copy-edit description of privileges.