The rolled-back flag on serializable xacts was pointless and redundant with
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Jun 2011 10:35:28 +0000 (13:35 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Jun 2011 10:35:28 +0000 (13:35 +0300)
commit264a6b127a918800d9f8bac80b5f4a8a8799d0f1
tree75825f27a40b019ed56ca6f806a3c5f497782e50
parent0a0e2b52a5a53b8747c165ff5c976f27df05a2e1
The rolled-back flag on serializable xacts was pointless and redundant with
the marked-for-death flag. It was only set for a fleeting moment while a
transaction was being cleaned up at rollback. All the places that checked
for the rolled-back flag should also check the marked-for-death flag, as
both flags mean that the transaction will roll back. I also renamed the
marked-for-death into "doomed", which is a lot shorter name.
src/backend/storage/lmgr/predicate.c
src/include/storage/predicate_internals.h