From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove obsolete speculative insert cleanup in ReorderBuffer.
Date: Mon, 16 Mar 2026 04:46:58 +0000
Message-ID: <E1w1zqz-000NxI-1M@gemulon.postgresql.org> (raw)
Remove obsolete speculative insert cleanup in ReorderBuffer.
Commit 4daa140a2f introduced proper decoding for speculative aborts. As a
result, the internal state is guaranteed to be clean when a new
speculative insert is encountered. This patch removes the defensive
cleanup code that is no longer reachable.
Author: Antonin Houska <ah@cybertec.at>
Discussion: https://postgr.es/m/23256.1772702981@localhost
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5f39698c9028554850fca6d3f764449c0da76d99
Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove obsolete speculative insert cleanup in ReorderBuffer.
In-Reply-To: <E1w1zqz-000NxI-1M@gemulon.postgresql.org>
* 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