pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add CHECK_FOR_INTERRUPTS while decoding changes.
Date: Tue, 23 Aug 2022 05:00:35 +0000
Message-ID: <E1oQM1i-000nWF-Gz@gemulon.postgresql.org> (raw)

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9415873aee9dbf074616b658ffba41c5280a8e5c

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 2 ++
1 file changed, 2 insertions(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1oQM1i-000nWF-Gz@gemulon.postgresql.org>
Permalink:  ../E1oQM1i-000nWF-Gz@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oQM1i-000nWF-Gz@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Add CHECK_FOR_INTERRUPTS while decoding changes.
  In-Reply-To: <E1oQM1i-000nWF-Gz@gemulon.postgresql.org>
  References: <E1oQM1i-000nWF-Gz@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox