]> granicus.if.org Git - postgresql/commit
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:40:24 +0000 (13:40 +0300)
commit2b44a2d62d12406da59fa6b23a0854d1d5068b17
tree42db9576f0570719aa27596af3b79e2d7e3f2c00
parentff4e078773b48260a36587b54537ca54d929898f
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