]> granicus.if.org Git - postgresql/commit
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:12:56 +0000 (12:12 +0300)
commitff4e078773b48260a36587b54537ca54d929898f
tree925c8a9aa597788f841cfd7268b6b59a39ad868a
parent80721b518292501058bb57a05fb6e2131997d0ec
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