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

Started by Tom Lanealmost 18 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@postgresql.org

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)