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 1xH3Vo-00000002nh7-3Tvy for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Oct 2026 18:15:36 +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 1xH3Vn-00000004ubO-3fDv for pgsql-hackers@arkaria.postgresql.org; Wed, 14 Oct 2026 18:15:35 +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 1xH3Vn-00000004ubG-21aj for pgsql-hackers@lists.postgresql.org; Wed, 14 Oct 2026 18:15:35 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xH3Vl-000000026lt-0633 for pgsql-hackers@lists.postgresql.org; Wed, 14 Oct 2026 18:15:35 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 83595EC0439 for ; Wed, 14 Oct 2026 14:15:31 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Wed, 14 Oct 2026 14:15:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm3; t=1792001731; x= 1792088131; bh=7vXhCyRf8/K03FsnbrJhVc65XVp9Ba2RULUtzCwZxHw=; b=t w+iAshGqr7FQBdazlEkz7bZ90nQbONegeuC59VQSlz/pwI9pixfct7gt8pcLuWB9 IB5llntP/r04MjSJ4Nr4Vbn/vY2zcGokmf/FlOKG/d7+XKM9O5MLVlCQlA7fUUlo rott39/CD4ViZ1b5qid1CwZgQaIpHf/7sp2161ker+RylTQjUrMWR0dZBok7FSw8 HYlAdZSqXCpZcoOTyjIAh99T3tFpKvO31V2K3/NUzPSmMTMHHlCJ9Z618Pq6uVq8 4CPmmvxNbjzoMul7kcip4HEwmzphENJ2ilv0M8MVyKOpP9qKAFbrfJOgZ+b3XBBj ViLCdP7ir0PjkFs0oi8ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1792001731; x=1792088131; bh=7 vXhCyRf8/K03FsnbrJhVc65XVp9Ba2RULUtzCwZxHw=; b=SmpAd8DhzZMyd8x9r 5i74Dn028QcDYCuf+z2Rteu9TPLRD4UTOojYT7GbtvU9enEewqhsRIM0yFrfWWh8 dl7gqGZil4/ZqHEYmNkuAPM7/HZiY1eKemgDY+G4jXYOp3XegR98uKH4uGqC8+k/ dNaJYKlF33PV7NbKWcs005oiy84meneOLsAu5jo+HvkWgCfRlmlpHfgaTQ22leh8 863MrEJiKppNq6PSfxfZK79tH4yl1zhFZH2U47apZUenXZo7iC6hi3AA95dclXdj Q5MWp0/O2vurddhPIs3c/v3FgH012G4Mg3Oy63FYk4i8nmDv04wEE0feda6++aCm f+WtA== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06; repo=github.com/dkim2wg/interop; date=2026-10-04; sw=lmtpprox; action=sign d=kurilemu.de a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1792001731; d=kurilemu.de; mf=PGFsdmhlcnJlQGt1cmlsZW11LmRlPg==; rt=PHBnc3FsLWhhY2tlcnNAbGlzdHMucG9zdGdyZXNxbC5vcmc+; s=fm3:rsa-sha256:GWdW71URYNpqR93Hf3IkTkgcqpZ959vbDnvTCe4Rw3uAyk9 l/wDoousAhdZ4c3EZ7HjXXAr9HlIEjZJfZTiolNADoVF3CEpO9UVobio+Pjp1wuy AHtHunIowCXVdKxbUycTZX3nuostqQqY/5KzRFr91W+kTb47ljrSJxWHmxbbhs0R 68ucf8hSTNEuXSC+kunDFQj2BnY3snPc6xsa9Ak0hnEUTEKC28Xms8zm64K5AsWc p8PJeL+/Jo8oS8U0tP/sTtlzAUHNtVw9CuXsnZJ7+yjOtZPoOcdXNeH84hFjixug OzwRAUsOZBA9JCoAtAxgiFQXkM0KnsWVS8n8Keg==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-06; repo=github.com/dkim2wg/interop; date=2026-10-04; sw=lmtpprox; action=mi-m=1; hc=12; hn=cc,content-disposition,content-transfer-encoding, content-type,date,feedback-id,from,in-reply-to,message-id, mime-version,subject,to; Message-Instance: m=1; h=sha256:4G2M/NziSVVjiR8Bl2hD/40tFxWdz2ee8BzZUkHjV2Y=:P/EkO5K70kF7JI2S1nOQO57X63nwpq2XOCDG9VCJmVE=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGGHQ3Nix/9wX4o/3v/7YY5KPvBW8VYRn9AhbYpDvTh9oaEHjZ1zbmiRulcysPHY9 jrQEFbI40m52AyxRdaAmcZF42XUGcpqcbdz+YphI9vjRbcs9hnkAsaLiZWwk0EySSZwywB y2xg4CpR/2/rD/G457w6C9cc6UMcKreLs3VtAFBmzLfZxQpumauJ4bRjWfaJ0M2SIg1DWE 0gAkqoeUAcDqnO8I+/wFDS4N6gSNb/KYSIy5irpSWatOnYaQuKi45X9sQZpNfTi+wDC0NG wAEeLDuk6gKrNmdRLBmkUukxmNpr/2scO6smOFKQhS9yS3mtEOKOWdZnnXWerJpghJXkcJ qA3pelmeTlw4ARyxPUVyGnK9ZyzNQsI82FNMtA0F9J/LMH5423uUbPbaHSamxANh5lVPX3 W55H08yVDB++VRmCitCnIumE9sPtTmNfPANzA0BKTrYHyvk5PmiIiFOca5C/7TJHC1OhSL ORHaeBlkgNW4ygITc8oljtfadv0cEpAOFF7N3CPEjr/9/N36tLCMmEyftTVaePmzEYJPzf Up9a81ZsNGNvFHF7ICXRrmKjbogL1Cb16VaHCYoK/4m5+QEZ82DpinoBueL1cQ7ksvAgHV F+vUoGKD7w1NIeveDteqWBSukt29/ZuvQEpUBhP+LUhLWyp/Qus9v+DK8H9w X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 14 Oct 2026 14:15:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1792001728; bh=P/EkO5K70kF7JI2S1nOQO57X63nwpq2XOCDG9VCJmVE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Xeb/whOeX+kMKBi/vmPsWox0RhILPAMSAvE+WxSz1F4kdUM6RQmWdmm74+bPkSltI 0tRZY9BxxVJeaqqbKfTMngEp5/liAAZ8gVE+WUSaRy5rOqrr7tArCOHBwAb3NyDJKn 5B7dBCrhzSVj8Y+YEt4DJK8A9SNVAi1GhuIP9PlSv4MZciQYUam9BXSLKVvA4Zi+LB nEzwjubTRkVUzfTE1YJlRqduOiix966P3W5w9qDMSqvtvwoO1C7YGBEt0q4U1OSjGW 820tPA3nvf7NpW8MFBJQ3I50i247T0575r+OzuuHhmYFvAJ7zEJjVrTaNFC/Z8WwH0 sO8+qtbyaWRwQ== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 37655B00192; Wed, 14 Oct 2026 20:15:28 +0200 (CEST) Date: Wed, 14 Oct 2026 20:15:28 +0200 From: "alvherre@kurilemu.de" To: "Hayato Kuroda (Fujitsu)" Cc: 'Bingshuai Li' , Zhijie Hou , Michael Paquier , Tom Lane , Alexander Lakhin , "pgsql-hackers@lists.postgresql.org" , "mark.dilger@enterprisedb.com" , Amit Kapila , Masahiko Sawada , Andrey Rachitskiy , "a.kozhemyakin@postgrespro.ru" Subject: Re: Bug in logical decoding with DDL and subtransactions Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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/