=== Applying patches on top of PostgreSQL commit ID 70c4a57b64d39c526eb4c44a925eb92a6e56f3c5 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Sat Nov 14 12:09:29 UTC 2026 On branch cf/6053 nothing to commit, working tree clean === using 'git am' to apply patch ./0001-Report-size-of-reorder-buffer-contents-20250813.patch === Applying: Report size of reorder buffer contents Using index info to reconstruct a base tree... M doc/src/sgml/monitoring.sgml M src/backend/catalog/system_views.sql M src/backend/replication/logical/decode.c M src/backend/replication/logical/reorderbuffer.c M src/backend/replication/walsender.c M src/include/catalog/pg_proc.dat M src/include/replication/reorderbuffer.h M src/include/replication/walsender_private.h M src/test/regress/expected/rules.out Falling back to patching base and 3-way merge... Auto-merging src/test/regress/expected/rules.out Auto-merging src/include/replication/walsender_private.h Auto-merging src/include/replication/reorderbuffer.h CONFLICT (content): Merge conflict in src/include/replication/reorderbuffer.h Auto-merging src/include/catalog/pg_proc.dat Auto-merging src/backend/replication/walsender.c Auto-merging src/backend/replication/logical/reorderbuffer.c Auto-merging src/backend/replication/logical/decode.c Auto-merging src/backend/catalog/system_views.sql Auto-merging doc/src/sgml/monitoring.sgml error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 Report size of reorder buffer contents When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". === using patch(1) to apply patch ./0001-Report-size-of-reorder-buffer-contents-20250813.patch === patching file doc/src/sgml/monitoring.sgml Hunk #1 succeeded at 1662 (offset 198 lines). patching file src/backend/catalog/system_views.sql Hunk #1 succeeded at 985 (offset 53 lines). patching file src/backend/replication/logical/decode.c Hunk #1 succeeded at 725 (offset 12 lines). patching file src/backend/replication/logical/reorderbuffer.c Hunk #1 succeeded at 396 with fuzz 1 (offset 4 lines). Hunk #2 succeeded at 3215 (offset 47 lines). Hunk #3 succeeded at 3246 (offset 47 lines). Hunk #4 succeeded at 3558 (offset 148 lines). patching file src/backend/replication/walsender.c Hunk #1 succeeded at 1597 (offset 102 lines). Hunk #2 succeeded at 3266 (offset 236 lines). Hunk #3 succeeded at 3786 (offset 239 lines). Hunk #4 succeeded at 4324 (offset 358 lines). Hunk #5 succeeded at 4352 (offset 358 lines). Hunk #6 succeeded at 4377 (offset 358 lines). Hunk #7 succeeded at 4475 (offset 358 lines). patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 5708 (offset 47 lines). patching file src/include/replication/reorderbuffer.h Hunk #1 succeeded at 463 (offset 5 lines). Hunk #2 succeeded at 710 (offset 8 lines). Hunk #3 FAILED at 750. 1 out of 3 hunks FAILED -- saving rejects to file src/include/replication/reorderbuffer.h.rej patching file src/include/replication/walsender_private.h patching file src/test/regress/expected/rules.out Hunk #1 succeeded at 2264 (offset 137 lines). Unstaged changes after reset: M doc/src/sgml/monitoring.sgml M src/backend/catalog/system_views.sql M src/backend/replication/logical/decode.c M src/backend/replication/logical/reorderbuffer.c M src/backend/replication/walsender.c M src/include/catalog/pg_proc.dat M src/include/replication/reorderbuffer.h M src/include/replication/walsender_private.h M src/test/regress/expected/rules.out Removing src/include/replication/reorderbuffer.h.rej === using 'git apply' to apply patch ./0001-Report-size-of-reorder-buffer-contents-20250813.patch === Applied patch to 'doc/src/sgml/monitoring.sgml' cleanly. Applied patch to 'src/backend/catalog/system_views.sql' cleanly. Applied patch to 'src/backend/replication/logical/decode.c' cleanly. Applied patch to 'src/backend/replication/logical/reorderbuffer.c' cleanly. Applied patch to 'src/backend/replication/walsender.c' cleanly. Applied patch to 'src/include/catalog/pg_proc.dat' cleanly. Applied patch to 'src/include/replication/reorderbuffer.h' with conflicts. Applied patch to 'src/include/replication/walsender_private.h' cleanly. Applied patch to 'src/test/regress/expected/rules.out' cleanly. U src/include/replication/reorderbuffer.h diff --cc src/include/replication/reorderbuffer.h index cc47b472db3,932ce87b8c2..00000000000 --- a/src/include/replication/reorderbuffer.h +++ b/src/include/replication/reorderbuffer.h @@@ -744,11 -750,7 +758,15 @@@ extern void ReorderBufferCommitChild(Re extern void ReorderBufferAbort(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn, TimestampTz abort_time); extern void ReorderBufferAbortOld(ReorderBuffer *rb, TransactionId oldestRunningXid); ++<<<<<<< ours +extern void ReorderBufferForget(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn); +extern void ReorderBufferCleanupAbortedTupleCids(ReorderBuffer *rb, + TransactionId xid, + int nsubxacts, + TransactionId *subxacts); ++======= + extern void ReorderBufferForget(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn, bool upd_rb_total_size); ++>>>>>>> theirs extern void ReorderBufferInvalidate(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn); extern void ReorderBufferSetBaseSnapshot(ReorderBuffer *rb, TransactionId xid,