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.96) (envelope-from ) id 1vvIDC-00CKfC-1m for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Feb 2026 16:58:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvIDB-007gyb-1W for pgsql-bugs@arkaria.postgresql.org; Wed, 25 Feb 2026 16:58:09 +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.96) (envelope-from ) id 1vvIDA-007gyM-2B for pgsql-bugs@lists.postgresql.org; Wed, 25 Feb 2026 16:58:09 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vvID6-00000001Fbf-46iU for pgsql-bugs@lists.postgresql.org; Wed, 25 Feb 2026 16:58:08 +0000 Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 84E0EEC05A6; Wed, 25 Feb 2026 11:58:03 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Wed, 25 Feb 2026 11:58:03 -0500 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=fm2; t=1772038683; x= 1772125083; bh=EmZtJbC4WhMle7lK26L7CSn7yso8DAnABN/DddeAL7U=; b=e nhNRkKL4XBr9tdeXsWpMyFuv9gcHljnriI0/jqNk/Gx7wrHeYrU1AjhlJNuV3iDL xApo0BgnQLp5+pFx/0GbCGl5plTrKKBXhP8g9eajDYEpsDU5fKvwEr2KyU25CM6y CB5JEhrIyvsOp1zfQwmvSiV+IQsVzLUv0dwtylVKOzDXZ31p04kxLqQ68IBw+FDL dptaLqzhQzO8NdUH3S9oyC5aWLCGBhRuGh/4BXICgP/xwI7YOFhm161nLWSAMfpj zVkwvD8/W0tetgdaSOj+IPi6CrDGQUL4FnUnAnrAwf6msgJsT2pZBBD2Pr5uK73e OGdA5u8LvfDDEjYLO/jtA== 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=fm3; t=1772038683; x=1772125083; bh=E mZtJbC4WhMle7lK26L7CSn7yso8DAnABN/DddeAL7U=; b=MyXAUg9P1RkoTkbY2 58B9SzjRExU4OP9gqVcp3j4yoRlK1MSoGyFnU4sC1poT42RZFDrGag7P0PCB9i6i zIvBYA3QcQhNXkh9f9Pu3tX+Sge4ILzUc1kHUJRs11eo/RihNlAjBwoaj1F3YwLg D1MX6dvWj4udrPEZo8WwfRRN878fPBBMDC0lnDrrKo178bh/wFjawI16Gaby7+jV ZjOaCOm9uZ/L5FhAIqIhRiOmMmKMGnsqaEa6y4wyOrbVFLmYVBrAelse0Bm5LR0S T1m3JPPs4Gy72j8W9s/GoHvNxPiBDDrRcGevgptGRLpIYRViu11R/yLMZhb5MGF9 r7FAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvgeefieegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfggtggugfgjsehtkeertd dttdejnecuhfhrohhmpemllhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvges khhurhhilhgvmhhurdguvgeqnecuggftrfgrthhtvghrnhepteeuvdehffekvefgueehve etveekgfegtddtueefueehuddutdfhfeffhfejfeffnecuffhomhgrihhnpegvnhhtvghr phhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgdpnhgspghrtghp thhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepkhhurhhouggrrdhhrg ihrghtohesfhhujhhithhsuhdrtghomhdprhgtphhtthhopehpghhsqhhlqdgsuhhgshes lhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepvhhishhhrghlrd hgseiiohhhohgtohhrphdrtghomh X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Feb 2026 11:58:02 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1772038679; bh=oNjgpSvjYrMvd8lMgVXq8ZiPg2yxZcI0Z4lYtxccqNc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=AgpCZP06HS0Rla3PK5Lf3pyh37rmqRthmh+XEg0Y6adrK/Ys2EM8womxETi71tmBM /etLZEn2yYzpuUGv5qwSpfH5ZbBNVu/kBe0mF71uK7p/d8YD7kzXp+SImGelk6vm+W XyX2MJuoUru/RK7rw+uXCW8gcsbMxPC/6zXcgwaWQhpPZz8yXmUllnQMLb/hr07lrM xzzKPaFbEnKiPqfZEJ8R9GetAKZ5vYJR9OzR87rp1kA7Kg3sa1/LuG17a6gtj03G5A v+05A0yABJWT0L8kh1effPCM1wMCWh2sT/CO3F/JLcXRgsQ13XqHDLGfvLkq83x3Ta Es18G3UMCrWNA== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 7D29D7A; Wed, 25 Feb 2026 17:57:59 +0100 (CET) Date: Wed, 25 Feb 2026 17:57:59 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Vishal Prasanna Cc: kurodahayato , pgsql-bugs Subject: Re: [BUG] Assert failure in ReorderBufferReturnTXN during logical decoding due to leaked specinsert change Message-ID: <202602251653.e66kyhiyntlm@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <19c95a57600.599bb79483132.9142801067257165882@zohocorp.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Feb-25, Vishal Prasanna wrote: > > It looks OK for me. In this case an argument should be reduced from > > ReorderBufferResetTXN(), right? It is harmless because the function is a static one. > > Yes, the `specinsert` is no longer needed in > `ReorderBufferResetTXN()`. Updated the patch where `specinsert` > cleanup is now handled in the `PG_CATCH()` block of > `ReorderBufferProcessTXN()`, so it is always freed before the if/else > branch. Please don't do this. Changing the argument list of an exported function is an ABI break. That's an OK change to do in branch master (to keep the interface clean), but for released branches it is not welcome, because it causes problems for users that have extensions that call the function and were compiled with its older definition. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/