pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: alvherre@kurilemu.de <alvherre@kurilemu.de>
To: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
Cc: Bingshuai Li <lucian1412@outlook.com>
Cc: Zhijie Hou <houzhijie22@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alexander Lakhin <exclusion@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Cc: mark.dilger@enterprisedb.com <mark.dilger@enterprisedb.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: Andrey Rachitskiy <pl0h0yp1@gmail.com>
Cc: a.kozhemyakin@postgrespro.ru <a.kozhemyakin@postgrespro.ru>
Subject: Re: Bug in logical decoding with DDL and subtransactions
Date: Wed, 14 Oct 2026 20:15:28 +0200
Message-ID: <as_FwZjm4gZ6_cAz@alvherre.pgsql> (raw)
In-Reply-To: <OS7PR01MB1831721F9806F6B588590EC27F5922@OS7PR01MB18317.jpnprd01.prod.outlook.com>

On 2026-Oct-09, Hayato Kuroda (Fujitsu) wrote:

> Also, while thinking on it, I started to think whether we have to clean up
> Tuplecids even if the transactions will be skipped. In this case transactions are
> Not replied thus the issue won't happen, right?

Yeah, I think that's correct.  I was wondering myself if the 2PC case is
correct -- we call ReorderBufferCleanupAbortedTupleCids() only when
two_phase is false.  Do we call DecodeAbort() again for those?  I am not
familiar with the 2PC support here.  The comment for DecodeAbort() could
be better for sure.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/






view thread (53+ messages)  latest in thread

Message-ID: <as_FwZjm4gZ6_cAz@alvherre.pgsql>
Permalink:  ../as_FwZjm4gZ6_cAz@alvherre.pgsql/
Also on:    postgresql.org/message-id/as_FwZjm4gZ6_cAz@alvherre.pgsql

 · 

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-hackers@postgresql.org
  Cc: alvherre@kurilemu.de, kuroda.hayato@fujitsu.com, lucian1412@outlook.com, houzhijie22@gmail.com, michael@paquier.xyz, tgl@sss.pgh.pa.us, exclusion@gmail.com, mark.dilger@enterprisedb.com, amit.kapila16@gmail.com, sawada.mshk@gmail.com, pl0h0yp1@gmail.com, a.kozhemyakin@postgrespro.ru
  Subject: Re: Bug in logical decoding with DDL and subtransactions
  In-Reply-To: <as_FwZjm4gZ6_cAz@alvherre.pgsql>
  References: <OS7PR01MB1831721F9806F6B588590EC27F5922@OS7PR01MB18317.jpnprd01.prod.outlook.com> <as_FwZjm4gZ6_cAz@alvherre.pgsql>

* 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