Обсуждение: pgsql: HeapTupleHeaderAdjustCmax made the incorrect assumption that the

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

pgsql: HeapTupleHeaderAdjustCmax made the incorrect assumption that the

От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
Log Message:
-----------
HeapTupleHeaderAdjustCmax made the incorrect assumption that the raw
command id is the cmin, when it can in fact be a combo cid. That made rows
incorrectly invisible to a transaction where a tuple was deleted by multiple
aborted subtransactions.

Report and patch Karl Schnaitter. Back-patch to 8.3, where combo cids was
introduced.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/time:
        combocid.c (r1.4 -> r1.4.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/time/combocid.c?r1=1.4&r2=1.4.2.1)