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 ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ff4e078773b48260a36587b54537ca54d929898f 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(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
