pgsql: Cope with heap_fetch failure while locking an update chain

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Cope with heap_fetch failure while locking an update chain
Дата
Msg-id E1Vm36s-00022P-73@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Cope with heap_fetch failure while locking an update chain

The reason for the fetch failure is that the tuple was removed because
it was dead; so the failure is innocuous and can be ignored.  Moreover,
there's no need for further work and we can return success to the caller
immediately.  EvalPlanQualFetch is doing something very similar to this
already.

Report and test case from Andres Freund in
20131124000203.GA4403@alap2.anarazel.de

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/heapam.c |   11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Set chunk.first.sections in XSLT, for consistency with DSSS
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Cope with heap_fetch failure while locking an update chain