pgsql: Add CHECK_FOR_INTERRUPTS in ExecInsert's speculative insertion l

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add CHECK_FOR_INTERRUPTS in ExecInsert's speculative insertion l
Дата
Msg-id E1oJfOi-000JNY-JV@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add CHECK_FOR_INTERRUPTS in ExecInsert's speculative insertion loop.

Ordinarily the functions called in this loop ought to have plenty
of CFIs themselves; but we've now seen a case where no such CFI is
reached, making the loop uninterruptible.  Even though that's from
a recently-introduced bug, it seems prudent to install a CFI at
the loop level in all branches.

Per discussion of bug #17558 from Andrew Kesper (an actual fix for
that bug will follow).

Discussion: https://postgr.es/m/17558-3f6599ffcf52fd4a@postgresql.org

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/23edf0e8b4d1677f8e5269fb15a584155c2e08e2

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Add proper regression test for the recent SRFs-in-pathkeys probl
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Revert recent changes to 002_pg_upgrade.pl.