HeapTupleHeaderAdjustCmax made the incorrect assumption that the raw
commit1acb5e84f5b319271cc1a9c647d9445af7c250ef
authorheikki <heikki>
Mon, 1 Sep 2008 18:52:45 +0000 (1 18:52 +0000)
committerheikki <heikki>
Mon, 1 Sep 2008 18:52:45 +0000 (1 18:52 +0000)
treed575c0eeda5a2f8875260514f9e350a1dc3bf44b
parent021a21f50a9e319f3c7f354b56f5d3e8813e7d9b
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.
src/backend/utils/time/combocid.c