The rolled-back flag on serializable xacts was pointless and redundant with
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/predicate.c | modified | +24 −28 |
| src/include/storage/predicate_internals.h | modified | +5 −6 |