pgsql: Use a more granular approach to follow update chains

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Use a more granular approach to follow update chains
Дата
Msg-id E1Vm36s-00022W-DI@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Use a more granular approach to follow update chains
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Don't try to set InvalidXid as page pruning hint