]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add CHECK_FOR_INTERRUPTS while decoding changes.
authorAmit Kapila <akapila@postgresql.org>
Tue, 23 Aug 2022 03:12:51 +0000 (08:42 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 23 Aug 2022 03:12:51 +0000 (08:42 +0530)
commit51e9469a41ad04838285a40dc6aacdb45b9749b9
tree5dd5684ec6d66c81114988057a7a394bd1b77653
parent116f20f926564cd4645f8d2f49fd0dfd0ad1f897
Add CHECK_FOR_INTERRUPTS while decoding changes.

While decoding changes in a loop, if we skip all the changes there is no
CFI making the loop uninterruptible.

Reported-by: Whale Song and Andrey Borodin
Bug: 17580
Author: Masahiko Sawada
Reviwed-by: Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/17580-849c1d5b6d7eb422@postgresql.org
Discussion: https://postgr.es/m/B319ECD6-9A28-4CDF-A8F4-3591E0BF2369@yandex-team.ru
src/backend/replication/logical/reorderbuffer.c