pgsql: Make non-MVCC snapshots exempt from predicate locking. Scans wit - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Make non-MVCC snapshots exempt from predicate locking. Scans wit
Date
Msg-id E1QWm9P-0001Ic-Li@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, document that link mode has to have data director
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Make non-MVCC snapshots exempt from predicate locking. Scans wit