HeapTupleHeaderAdjustCmax made the incorrect assumption that the raw
authorHeikki Linnakangas <heikki@enterprisedb.com>
Mon, 1 Sep 2008 18:53:03 +0000 (18:53 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Mon, 1 Sep 2008 18:53:03 +0000 (18:53 +0000)
commit8a2619fcd973e213a7cfbb72b8b802d00a54eb5a
treef683171422e912b4d9be58c72e37ac44b488378c
parentd01243fe9746f47fc47342b61a7580efe806cc15
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