Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBevn-00000003Jdx-3IpF for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2026 21:00:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xBevm-0000000GVZa-2DmO for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2026 21:00:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBevm-0000000GVZR-0oQF for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2026 21:00:06 +0000 Received: from mail-wr2-x0e.google.com ([2a00:1450:4864:30::e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xBevj-00000001zLz-3EAS for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2026 21:00:05 +0000 Received: by mail-wr2-x0e.google.com with SMTP id ffacd0b85a97d-48affb828f1so112109f8f.0 for ; Tue, 29 Sep 2026 14:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790715602; x=1791320402; darn=lists.postgresql.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:content-type:from:to:cc :subject:date:message-id:reply-to:content-type; bh=RK/VzKAj/BgXBqKbm/wS0I89EEk6nMzw1FRf4DMdJLQ=; b=U3tzVIcjsWKNO6NYgeGHuoTZiIi1ULqpydCRnt3OEC7CeBsbyLIU82wGMPdVwHPHCA mNs5w5iTyIPX8Odfc/wR/0sK0w6P8vChlS563VRQvSeSTXV/CctGRpmgJqR257rmiZIx gy72nRNToG1S9NW/CdagV0t03cXvBms3cwYAJcfM2zmOAscNmnLycejvI8aPEraDjoFl iQQLaSSi9xas/nRPtYOQ6UhHHIuBbhS1NHfdlZruNuJPNPYuVbzn1mGGo2mg4p+h3XIB 27KV5JCLec1RZOAK9u6VipMkgaq2Rj75hyhTk0VwKbCe6SR3VD+t4/SympA3pJDsUiGQ nVRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790715602; x=1791320402; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=RK/VzKAj/BgXBqKbm/wS0I89EEk6nMzw1FRf4DMdJLQ=; b=l0apwe4fIZEUF+dwwTy40mO7L0RpXYZTuKSY0AcYa+bOJkap9KEHBjTeNKPeCxnGQz Hu2FhktZ8RDS2RO+T8hZ1MWUkOsq7gHryyygzwzjNbF0VnzkhFS8WfL49L7+i8CrXfKu PSeM9hZudKAWjMnDlmI7tNgIE33rcRBLa1nIT/zyexDflxy9ZBsqxaRid3+Yk3py7i7U ypi3Uf4QEVzpLN1QO2MoryBE9J8deGawa1HdkhwwAUk9n6k4QtgVAsyHVc4zDj+u2YAS yiAPuk5RUKh9+sjhG/J1Tg4Sq3u8CjXWjVJAMzIuLG4jCPG+WbG6s8aXe/W5f9WZtDch uu8g== X-Forwarded-Encrypted: i=1; AKwUvBwsyAJFC0VNW5UBq+JPYVTua4oReSMGITJLsJB3iYlxcr9X+8ZE7xVRKgj+HeH4JY60qdCZiC6i6nVvZVGE@lists.postgresql.org X-Gm-Message-State: AFq9FYI121eS7BFQgRV/vlM4RBAHWHnpysfE+/yAiMt8bSmI7fMo50Ql LCaZr7gsYsFWJmT35lCPKafwL1UmqLHdpqu4KFx9eCdvkRQR5RNTBrvr X-Gm-Gg: AYBFou3ciRztiolg5VgavZwbkjEvssb9vuW+M/6VkUNOxT5ye/ngVZDOnhR3q4Hfu5W yOWSW+aOJn98UJ7SyHtSMLCD/Gn73qxiS3gWyJpx9i3V2+9Uog6oQOTFwpCYcKG+02is386EZqL e68xM3stym5RnPDgs5ABMMf0b44viZWb/2U8RSVc3FO80/NpojfJtha0fYpQjlrSPc9E9QEQw/g DKtpRa5sE8EYxDG4XXZsK0Te9hXxhdr49EByMOFnUrBS17i57G7BezpUMtmZ6GKd284wOZlM8cq 6FqwwtU+mz6ZZ1aL/B0ktIbunITMVDzsBkBvMLszyaLLI8dobq2OxwOiID59A0lZQZcBbAjzbnC XzIuhS6RMyj4yW+olzA9/0kknX+5Jj668CEEut8SDkDR/+T/8iGp/NvIo2y7P10EEo3/u050zSW xqX+1Zh+rvSYK4d22UlFljgoSP3OzdOHddl9A5gVXualX+tNsIgOv3fZqh7HzBq3ataNXoQDzN X-Received: by 2002:adf:f292:0:b0:488:8a5d:ffbe with SMTP id ffacd0b85a97d-48afe79a4f7mr743049f8f.33.1790715602384; Tue, 29 Sep 2026 14:00:02 -0700 (PDT) Received: from [192.168.0.50] ([89.149.68.133]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48afe696453sm1294437f8f.19.2026.09.29.14.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Sep 2026 14:00:01 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------5UQO03Z8tOzs3mGaXvzJeZDR" Message-ID: Date: Wed, 30 Sep 2026 00:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bug in logical decoding with DDL and subtransactions To: Tom Lane , Bingshuai Li Cc: "alvherre@kurilemu.de" , "pgsql-hackers@lists.postgresql.org" , "mark.dilger@enterprisedb.com" , Amit Kapila , Masahiko Sawada , Andrey Rachitskiy , "a.kozhemyakin@postgrespro.ru" References: <694006.1790706690@sss.pgh.pa.us> Content-Language: en-US From: Alexander Lakhin In-Reply-To: <694006.1790706690@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------5UQO03Z8tOzs3mGaXvzJeZDR Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello Tom, 29.09.2026 21:31, Tom Lane wrote: > Bingshuai Li 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 --------------5UQO03Z8tOzs3mGaXvzJeZDR Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
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
--------------5UQO03Z8tOzs3mGaXvzJeZDR--