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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/0a0e2b52a5a53b8747c165ff5c976f27df05a2e1
Modified Files
--------------
src/backend/access/heap/heapam.c | 23 +++--
src/backend/access/index/indexam.c | 15 ++--
src/backend/access/nbtree/nbtsearch.c | 33 +++----
src/backend/executor/nodeSeqscan.c | 3 +-
src/backend/storage/lmgr/predicate.c | 168 +++++++++++++++++++++------------
src/include/storage/predicate.h | 9 +-
6 files changed, 151 insertions(+), 100 deletions(-)