OSDN Git Service

Fix bug introduced by recent SSI patch to merge ROLLED_BACK and
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 21 Jun 2011 11:12:40 +0000 (14:12 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 21 Jun 2011 11:49:50 +0000 (14:49 +0300)
commit7cb2ff9621a6129cc251f9d06bf23d3f9d426173
tree0a9c11ae186ffd6a2ccb786427a916d4086973e7
parent31e8ab4dd98dbe702df8b2029cf6e2424b12850e
Fix bug introduced by recent SSI patch to merge ROLLED_BACK and
MARKED_FOR_DEATH flags into one. We still need the ROLLED_BACK flag to
mark transactions that are in the process of being rolled back. To be
precise, ROLLED_BACK now means that a transaction has already been
discounted from the count of transactions with the oldest xmin, but not
yet removed from the list of active transactions.

Dan Ports
src/backend/storage/lmgr/predicate.c
src/include/storage/predicate_internals.h