pgsql: Use a more granular approach to follow update chains - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Use a more granular approach to follow update chains
Date
Msg-id E1Vm36s-00022W-DI@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use a more granular approach to follow update chains

Instead of simply checking the KEYS_UPDATED bit, we need to check
whether each lock held on the future version of the tuple conflicts with
the lock we're trying to acquire.

Per bug report #8434 by Tomonari Katsumata

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/247c76a989097f1b4ab6fae898f24e75aa27fc1b

Modified Files
--------------
src/backend/access/heap/heapam.c |  202 ++++++++++++++++++++++++++++++++------
1 file changed, 171 insertions(+), 31 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Use a more granular approach to follow update chains
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Don't try to set InvalidXid as page pruning hint