Make non-MVCC snapshots exempt from predicate locking. Scans with non-MVCC
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Make non-MVCC snapshots exempt from predicate locking. Scans with non-MVCC snapshots, like in REINDEX, are basically non-transactional operations. The DDL operation itself might participate in SSI, but there's separate functions for that. Kevin Grittner and Dan Ports, with some changes by me.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +13 −10 |
| src/backend/access/index/indexam.c | modified | +8 −7 |
| src/backend/access/nbtree/nbtsearch.c | modified | +16 −17 |
| src/backend/executor/nodeSeqscan.c | modified | +2 −1 |
| src/backend/storage/lmgr/predicate.c | modified | +107 −61 |
| src/include/storage/predicate.h | modified | +5 −4 |