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

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

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