Make non-MVCC snapshots exempt from predicate locking. Scans with non-MVCC
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Jun 2011 08:43:05 +0000 (11:43 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 15 Jun 2011 09:11:18 +0000 (12:11 +0300)
commit0a0e2b52a5a53b8747c165ff5c976f27df05a2e1
treefaddc252b3cbbff5a3ed961ae85816ca6334d356
parent707195c8f487a39c34ea4d965140465594eb5c21
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.
src/backend/access/heap/heapam.c
src/backend/access/index/indexam.c
src/backend/access/nbtree/nbtsearch.c
src/backend/executor/nodeSeqscan.c
src/backend/storage/lmgr/predicate.c
src/include/storage/predicate.h