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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1b1b0ac8d027044726fc09090a6112eb63c12ac4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-12-30T03:59:19Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/backend/utils/cache/relcache.c modified +3 −1