pgsql: Partially roll back overenthusiastic SSI optimization. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Partially roll back overenthusiastic SSI optimization.
Date
Msg-id E1Q8HQM-0003ue-J7@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Partially roll back overenthusiastic SSI optimization.

When a regular lock is held, SSI can use that in lieu of a predicate lock
to detect rw conflicts; but if the regular lock is being taken by a
subtransaction, we can't assume that it'll commit, so releasing the
parent transaction's lock in that case is a no-no.

Kevin Grittner

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fbc0d07796bcae8b2ee4b09ed236877338c95130

Modified Files
--------------
src/backend/storage/lmgr/predicate.c |   20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Have pg_upgrade properly preserve relfrozenxid in toast tables.
Next
From: Tom Lane
Date:
Subject: pgsql: Modify initdb to complain only when no usable system locales are