Обсуждение: pgsql: Fix oversight in ALTER TABLE ENABLE/DISABLE RULE patch: the new

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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.

Modified Files:
--------------
    pgsql/src/backend/utils/cache:
        relcache.c (r1.278 -> r1.279)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/cache/relcache.c?r1=1.278&r2=1.279)