pgsql: Fix oversight in ALTER TABLE ENABLE/DISABLE RULE patch: the new

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in ALTER TABLE ENABLE/DISABLE RULE patch: the new
Date: 2008-12-30 03:59:28
Message-ID: 20081230035928.19E277549FF@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix oversight in ALTER TABLE ENABLE/DISABLE RULE patch: the new enabled
field needs to be included in equalRuleLocks() comparisons, else updates
will fail to propagate into relcache entries when they have positive
reference count (ie someone is using the relcache entry).
Per report from Alex Hunsaker.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/cache:
relcache.c (r1.266.2.4 -> r1.266.2.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/relcache.c?r1=1.266.2.4&r2=1.266.2.5)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-12-30 16:24:37 pgsql: The flag to mark dead tuples is nowadays called LP_DEAD, not
Previous Message Tom Lane 2008-12-30 03:59:19 pgsql: Fix oversight in ALTER TABLE ENABLE/DISABLE RULE patch: the new