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 1vvUU2-004bDD-0k for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Feb 2026 06:04:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvUTz-00AAj8-31 for pgsql-bugs@arkaria.postgresql.org; Thu, 26 Feb 2026 06:04:19 +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 1vvUTz-00AAiz-1I for pgsql-bugs@lists.postgresql.org; Thu, 26 Feb 2026 06:04:19 +0000 Received: from sender-pp-e102.zoho.in ([103.117.158.102]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vvUTu-00000001L9g-3m3D for pgsql-bugs@lists.postgresql.org; Thu, 26 Feb 2026 06:04:18 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1772085846; cv=none; d=zohomail.in; s=zohoarc; b=Xu0+VOuBT4DSAlmeEFCDd2+v2rPoLsJRs/TK9vjCKSak8sjCk6cTyPd7Ev6FZzzCKxVCslY5IXy1LIJrElbhR7vQNs9ReR3ETC/zIWxUi2CS0fiyjlQPwdZ2ImBM9rLt0+BT7/9fxMZCHWxwTZZnAc9mgLMGBodgDyewmG4VyYc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1772085846; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=d7vBCx9HwxyJZ+o0pbsfPYieEUQWTCL5e2eWY0Bj/BI=; b=TtZyDHXBg/Xy2ZxjWFf6ktfmijbV2oCxLDcJB39XzQyuUbNOFAJ1PtKVlyAknF4p/oaOWEyMp3kb6xSqz3PD7lMp9J7qH/AA8IsLnQ5fqkJqGkOy5yRHYl7KGPmJZszmtpiDK4Arzu8EZVSjC4Gal7GNOj7Ism+nzK26nX1VJVY= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=zohocorp.com; spf=pass smtp.mailfrom=vishal.g@zohocorp.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1772085846; s=admin1; d=zohocorp.com; i=vishal.g@zohocorp.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=d7vBCx9HwxyJZ+o0pbsfPYieEUQWTCL5e2eWY0Bj/BI=; b=Fx8IWgGf41pkLcOY2656wsS/lWjblBQquOxnv6D5FsyqJpmihbQlezapY9XPOdKp GQLnJ1tDhK0pJk3mIrs9L2UhzaINl0+DOs7cucc8g5tO3S/Vr60UD0g0kdKUe2w4/n0 xjHKSG9cWZc9qBTkXlj3LwimvRivLdeN4d7f2f5I= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1772085842550597.1289614569152; Thu, 26 Feb 2026 11:34:02 +0530 (IST) Date: Thu, 26 Feb 2026 11:34:02 +0530 From: Vishal Prasanna To: "Hayato Kuroda (Fujitsu)" Cc: =?UTF-8?Q?=22=27=C3=81lvaro_Herrera=27=22?= , "pgsql-bugs" Message-ID: <19c988c1266.2196acf489066.5725883611676009019@zohocorp.com> In-Reply-To: References: <19c95a57600.599bb79483132.9142801067257165882@zohocorp.com> <202602251653.e66kyhiyntlm@alvherre.pgsql> Subject: RE: [BUG] Assert failure in ReorderBufferReturnTXN during logical decoding due to leaked specinsert change MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Dear Hayato, =C3=81lvaro, >> 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. > > To confirm, ReorderBufferResetTXN() seems a static function and proposed = patch > does not modify *.h files. So they do not break the ABI and OK to remove,= right? ``` File: reorderbuffer.c 2156: /* 2157: * Helper function for ReorderBufferProcessTXN to handle the concurre= nt 2158: * abort of the streaming transaction. This resets the TXN such that= it 2159: * can be used to stream the remaining data of transaction being proc= essed. 2160: * This can happen when the subtransaction is aborted and we still wa= nt to 2161: * continue processing the main or other subtransactions data. 2162: */ 2163: static void 2164: ReorderBufferResetTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, ``` Confirmed, `ReorderBufferResetTXN()` is a static function used only by Reor= derBufferProcessTXN(). It is not exposed outside reorderbuffer.c, and the patch does not affect an= y public exported function. Regards, Vishal Prasanna Zoho Corporation