From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Make non-MVCC snapshots exempt from predicate locking. Scans wit |
Date: | 2011-06-15 09:12:39 |
Message-ID: | E1QWm9P-0001Ic-Li@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2011-06-15 09:15:58 | pgsql: Make non-MVCC snapshots exempt from predicate locking. Scans wit |
Previous Message | Bruce Momjian | 2011-06-14 22:15:28 | pgsql: In pg_upgrade, document that link mode has to have data director |