From: Alexander Lakhin <exclusion@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Bingshuai Li <lucian1412@outlook.com>
Cc: alvherre@kurilemu.de <alvherre@kurilemu.de>
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, 30 Sep 2026 00:00:00 +0300
Message-ID: <c7072f7b-c370-4cab-b1f6-33479e40325a@gmail.com> (raw)
In-Reply-To: <694006.1790706690@sss.pgh.pa.us>
References: <ME0P300MB0953FB8C1B9731C5C28EEC3EC6B82@ME0P300MB0953.AUSP300.PROD.OUTLOOK.COM>
<aqvJDO3fYcomY4Cr@alvherre.pgsql>
<ME0P300MB095345B41B03DF50421235D0C6B82@ME0P300MB0953.AUSP300.PROD.OUTLOOK.COM>
<694006.1790706690@sss.pgh.pa.us>
Hello Tom,
29.09.2026 21:31, Tom Lane wrote:
> Bingshuai Li<lucian1412@outlook.com> writes:
>>> What's the reason to consider this as a worse problem in 19 than in
>>> previous releases?
>> There isn't one -- I asked because 19 GA was approaching and the bug
>> was reported against 19. Fixing it in all stable branches for the
>> November minors sounds right.
> While it's not any worse for v19 than older branches, it would be sad
> if this isn't fixed for v19 GA, since we have that scheduled ahead of
> the November minors.
>
> Also, of late the test_decoding/sql/ddl.sql test has been failing
> often enough in the buildfarm to be quite annoying. So I'd like to
> see this fixed sooner not later. (It's not very clear to me why
> we are suddenly able to see this old bug in the regression tests.
> The part of ddl.sql that's crashing hasn't changed in years, but
> BF member "prion" has failed multiple times in the past two weeks.
> Do we have a theory about that that's better than hand-wavy
> "some change in timing"?)
Besides prion, skink managed to trigger that assert too: [1]. It didn't run
tests from 2026-09-08 to 2026-09-25 [2], and never failed this test before,
so I guess the change which affected the test was on Sep 15: a4b26b8f7
(the very first prion's failure includes this commit [3]). I can reproduce
this failure under Valgrind locally, but not reliably enough to bisect it
quickly.
[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=skink&dt=2026-09-28%2003%3A25%3A19
[2] https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=skink&br=master
[3] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2026-09-15%2021%3A39%3A57
Best regards,
Alexander
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: exclusion@gmail.com, tgl@sss.pgh.pa.us, lucian1412@outlook.com, alvherre@kurilemu.de, 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: <c7072f7b-c370-4cab-b1f6-33479e40325a@gmail.com>
References: <ME0P300MB0953FB8C1B9731C5C28EEC3EC6B82@ME0P300MB0953.AUSP300.PROD.OUTLOOK.COM> <aqvJDO3fYcomY4Cr@alvherre.pgsql> <ME0P300MB095345B41B03DF50421235D0C6B82@ME0P300MB0953.AUSP300.PROD.OUTLOOK.COM> <694006.1790706690@sss.pgh.pa.us> <c7072f7b-c370-4cab-b1f6-33479e40325a@gmail.com>
* 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