pgsql: Remove obsolete speculative insert cleanup in ReorderBuffer.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove obsolete speculative insert cleanup in ReorderBuffer.
Date: 2026-03-16 04:46:58
Message-ID: E1w1zqz-000NxI-1M@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)cybertec(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Mahendra Singh Thalor 2026-03-16 06:29:51 Re: pgsql: Fix small memory leak in get_dbname_oid_list_from_mfile().
Previous Message Fujii Masao 2026-03-16 03:14:21 pgsql: file_fdw: Add regression test for file_fdw with ON_ERROR='set_nu