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-00022p-Na@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
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4c71f48f4c6c923d1b3f6e6c788e8a0995f4241a

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Compare Xmin to previous Xmax when locking an update chain
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Use a more granular approach to follow update chains