Remove obsolete speculative insert cleanup in ReorderBuffer.

Amit Kapila <akapila@postgresql.org>

Commit: 5f39698c9028554850fca6d3f764449c0da76d99
Author: Amit Kapila <akapila@postgresql.org>
Date: 2026-03-16T04:44:22Z
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

Files

PathChange+/−
src/backend/replication/logical/reorderbuffer.c modified +2 −6

Discussion