=== Applying patches on top of PostgreSQL commit ID 88824e68611a88a4ef7218c093810a94f86e12e0 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Sat Sep 13 11:35:26 UTC 2025 On branch cf/5111 nothing to commit, working tree clean === using 'git am' to apply patch ./v20250908-0001-Enhance-pg_get_sequence_data-function.patch === Applying: Enhance pg_get_sequence_data function === using 'git am' to apply patch ./v20250908-0002-Introduce-ALL-SEQUENCES-support-for-Postgr.patch === Applying: Introduce "ALL SEQUENCES" support for PostgreSQL logical replication === using 'git am' to apply patch ./v20250908-0003-Reorganize-tablesync-Code-and-Introduce-sy.patch === Applying: Reorganize tablesync Code and Introduce syncutils error: sha1 information is lacking or useless (src/bin/pg_dump/pg_dump.c). error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 Reorganize tablesync Code and Introduce syncutils 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 ./v20250908-0003-Reorganize-tablesync-Code-and-Introduce-sy.patch === patching file src/backend/catalog/pg_subscription.c patching file src/backend/replication/logical/Makefile patching file src/backend/replication/logical/applyparallelworker.c patching file src/backend/replication/logical/meson.build patching file src/backend/replication/logical/syncutils.c patching file src/backend/replication/logical/tablesync.c patching file src/backend/replication/logical/worker.c Hunk #2 succeeded at 1229 (offset -1 lines). Hunk #3 succeeded at 1351 (offset -1 lines). Hunk #4 succeeded at 1407 (offset -1 lines). Hunk #5 succeeded at 1473 (offset -1 lines). Hunk #6 succeeded at 1608 (offset -1 lines). Hunk #7 succeeded at 2450 (offset -1 lines). Hunk #8 succeeded at 4119 (offset 5 lines). Hunk #9 succeeded at 5766 (offset 22 lines). patching file src/bin/pg_dump/common.c patching file src/bin/pg_dump/pg_dump.c Hunk #1 succeeded at 5312 (offset 54 lines). Hunk #2 succeeded at 5370 (offset 54 lines). patching file src/include/catalog/pg_subscription_rel.h patching file src/include/replication/worker_internal.h Hunk #2 succeeded at 277 with fuzz 1 (offset 1 line). patching file src/tools/pgindent/typedefs.list [cf/5111 43161345421] Reorganize tablesync Code and Introduce syncutils Author: Vignesh C Date: Tue Sep 2 16:59:39 2025 +0530 12 files changed, 234 insertions(+), 190 deletions(-) create mode 100644 src/backend/replication/logical/syncutils.c === using 'git am' to apply patch ./v20250908-0004-Update-ALTER-SUBSCRIPTION-REFRESH-to-ALTER.patch === fatal: previous rebase directory .git/rebase-apply still exists but mbox given. === using patch(1) to apply patch ./v20250908-0004-Update-ALTER-SUBSCRIPTION-REFRESH-to-ALTER.patch === patching file src/backend/commands/subscriptioncmds.c Hunk #1 succeeded at 1612 (offset 10 lines). Hunk #2 succeeded at 1667 (offset 10 lines). Hunk #3 succeeded at 1692 (offset 10 lines). Hunk #4 succeeded at 1709 (offset 10 lines). Hunk #5 succeeded at 1722 (offset 10 lines). Hunk #6 succeeded at 2322 (offset 10 lines). Hunk #7 succeeded at 2390 (offset 10 lines). patching file src/backend/parser/gram.y patching file src/include/nodes/parsenodes.h patching file src/test/regress/expected/subscription.out [cf/5111 1c3b7b7cb91] Update ALTER SUBSCRIPTION REFRESH to ALTER SUBSCRIPTION REFRESH PUBLICATION Author: Vignesh C Date: Thu Aug 21 12:08:12 2025 +0530 4 files changed, 28 insertions(+), 28 deletions(-) === using 'git am' to apply patch ./v20250908-0005-Introduce-REFRESH-PUBLICATION-SEQUENCES-fo.patch === fatal: previous rebase directory .git/rebase-apply still exists but mbox given. === using patch(1) to apply patch ./v20250908-0005-Introduce-REFRESH-PUBLICATION-SEQUENCES-fo.patch === patching file src/backend/catalog/pg_publication.c patching file src/backend/catalog/pg_subscription.c patching file src/backend/catalog/system_views.sql patching file src/backend/commands/subscriptioncmds.c Hunk #9 succeeded at 913 (offset 10 lines). Hunk #10 succeeded at 926 (offset 10 lines). Hunk #11 succeeded at 949 (offset 10 lines). Hunk #12 succeeded at 977 (offset 10 lines). Hunk #13 succeeded at 1025 (offset 10 lines). Hunk #14 succeeded at 1069 (offset 10 lines). Hunk #15 succeeded at 1126 (offset 10 lines). Hunk #16 succeeded at 1143 (offset 10 lines). Hunk #17 succeeded at 1161 (offset 10 lines). Hunk #18 succeeded at 1820 (offset 10 lines). Hunk #19 succeeded at 2107 (offset 10 lines). Hunk #20 succeeded at 2503 (offset 10 lines). Hunk #21 succeeded at 2697 (offset 10 lines). Hunk #22 succeeded at 2721 (offset 10 lines). Hunk #23 succeeded at 2739 (offset 10 lines). Hunk #24 succeeded at 2786 (offset 10 lines). Hunk #25 succeeded at 2799 (offset 10 lines). Hunk #26 succeeded at 2815 (offset 10 lines). patching file src/backend/executor/execReplication.c patching file src/backend/parser/gram.y patching file src/backend/replication/logical/syncutils.c patching file src/backend/replication/logical/tablesync.c patching file src/backend/replication/pgoutput/pgoutput.c patching file src/bin/psql/tab-complete.in.c patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 12294 (offset 12 lines). patching file src/include/catalog/pg_publication.h patching file src/include/catalog/pg_subscription_rel.h patching file src/include/nodes/parsenodes.h patching file src/test/regress/expected/rules.out patching file src/tools/pgindent/typedefs.list [cf/5111 e8503ac0b9a] Introduce "REFRESH PUBLICATION SEQUENCES" for subscriptions Author: Vignesh C Date: Tue Sep 2 16:45:14 2025 +0530 16 files changed, 403 insertions(+), 114 deletions(-) === using 'git am' to apply patch ./v20250908-0006-New-worker-for-sequence-synchronization-du.patch === fatal: previous rebase directory .git/rebase-apply still exists but mbox given. === using patch(1) to apply patch ./v20250908-0006-New-worker-for-sequence-synchronization-du.patch === patching file src/backend/catalog/pg_subscription.c patching file src/backend/catalog/system_views.sql patching file src/backend/commands/sequence.c patching file src/backend/commands/subscriptioncmds.c Hunk #1 succeeded at 1084 (offset 10 lines). Hunk #2 succeeded at 2084 (offset 10 lines). Hunk #3 succeeded at 2727 (offset 10 lines). Hunk #4 succeeded at 2739 (offset 10 lines). Hunk #5 succeeded at 2757 (offset 10 lines). Hunk #6 succeeded at 2765 (offset 10 lines). Hunk #7 succeeded at 2825 (offset 10 lines). Hunk #8 succeeded at 2839 (offset 10 lines). patching file src/backend/postmaster/bgworker.c patching file src/backend/replication/logical/Makefile patching file src/backend/replication/logical/launcher.c patching file src/backend/replication/logical/meson.build patching file src/backend/replication/logical/sequencesync.c patching file src/backend/replication/logical/syncutils.c patching file src/backend/replication/logical/tablesync.c patching file src/backend/replication/logical/worker.c Hunk #1 succeeded at 688 (offset -1 lines). Hunk #2 succeeded at 1233 (offset -1 lines). Hunk #3 succeeded at 1358 (offset -1 lines). Hunk #4 succeeded at 1417 (offset -1 lines). Hunk #5 succeeded at 1486 (offset -1 lines). Hunk #6 succeeded at 1624 (offset -1 lines). Hunk #7 succeeded at 2469 (offset -1 lines). Hunk #8 FAILED at 3294. Hunk #9 succeeded at 4141 (offset 5 lines). Hunk #10 succeeded at 5491 (offset 22 lines). Hunk #11 succeeded at 5612 (offset 22 lines). Hunk #12 succeeded at 5724 (offset 22 lines). Hunk #13 succeeded at 5747 (offset 22 lines). Hunk #14 succeeded at 5827 (offset 22 lines). Hunk #15 succeeded at 5843 (offset 22 lines). 1 out of 15 hunks FAILED -- saving rejects to file src/backend/replication/logical/worker.c.rej patching file src/backend/utils/activity/pgstat_subscription.c patching file src/backend/utils/adt/pgstatfuncs.c patching file src/backend/utils/misc/guc_parameters.dat patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 5700 (offset 12 lines). patching file src/include/catalog/pg_subscription_rel.h patching file src/include/commands/sequence.h patching file src/include/pgstat.h patching file src/include/replication/logicalworker.h patching file src/include/replication/worker_internal.h Hunk #5 succeeded at 287 (offset 1 line). Hunk #6 succeeded at 357 (offset 1 line). patching file src/test/regress/expected/rules.out patching file src/test/subscription/meson.build Hunk #1 succeeded at 45 (offset 3 lines). patching file src/test/subscription/t/026_stats.pl patching file src/test/subscription/t/036_sequences.pl patching file src/tools/pgindent/typedefs.list Unstaged changes after reset: M src/backend/catalog/pg_subscription.c M src/backend/catalog/system_views.sql M src/backend/commands/sequence.c M src/backend/commands/subscriptioncmds.c M src/backend/postmaster/bgworker.c M src/backend/replication/logical/Makefile M src/backend/replication/logical/launcher.c M src/backend/replication/logical/meson.build M src/backend/replication/logical/syncutils.c M src/backend/replication/logical/tablesync.c M src/backend/replication/logical/worker.c M src/backend/utils/activity/pgstat_subscription.c M src/backend/utils/adt/pgstatfuncs.c M src/backend/utils/misc/guc_parameters.dat M src/include/catalog/pg_proc.dat M src/include/catalog/pg_subscription_rel.h M src/include/commands/sequence.h M src/include/pgstat.h M src/include/replication/logicalworker.h M src/include/replication/worker_internal.h M src/test/regress/expected/rules.out M src/test/subscription/meson.build M src/test/subscription/t/026_stats.pl M src/tools/pgindent/typedefs.list Removing src/backend/replication/logical/sequencesync.c Removing src/backend/replication/logical/worker.c.rej Removing src/test/subscription/t/036_sequences.pl === using 'git apply' to apply patch ./v20250908-0006-New-worker-for-sequence-synchronization-du.patch === Applied patch to 'src/backend/catalog/pg_subscription.c' cleanly. Applied patch to 'src/backend/catalog/system_views.sql' cleanly. Applied patch to 'src/backend/commands/sequence.c' cleanly. error: repository lacks the necessary blob to perform 3-way merge. Falling back to direct application... Applied patch to 'src/backend/postmaster/bgworker.c' cleanly. Applied patch to 'src/backend/replication/logical/Makefile' cleanly. Applied patch to 'src/backend/replication/logical/launcher.c' cleanly. Applied patch to 'src/backend/replication/logical/meson.build' cleanly. Falling back to direct application... Applied patch to 'src/backend/replication/logical/syncutils.c' cleanly. error: repository lacks the necessary blob to perform 3-way merge. Falling back to direct application... error: repository lacks the necessary blob to perform 3-way merge. Falling back to direct application... error: patch failed: src/backend/replication/logical/worker.c:3271 error: src/backend/replication/logical/worker.c: patch does not apply Applied patch to 'src/backend/utils/activity/pgstat_subscription.c' cleanly. Applied patch to 'src/backend/utils/adt/pgstatfuncs.c' cleanly. Applied patch to 'src/backend/utils/misc/guc_parameters.dat' cleanly. error: repository lacks the necessary blob to perform 3-way merge. Falling back to direct application... Applied patch to 'src/include/catalog/pg_subscription_rel.h' cleanly. Applied patch to 'src/include/commands/sequence.h' cleanly. Applied patch to 'src/include/pgstat.h' cleanly. Applied patch to 'src/include/replication/logicalworker.h' cleanly. error: repository lacks the necessary blob to perform 3-way merge. Falling back to direct application... Applied patch to 'src/test/regress/expected/rules.out' cleanly. Applied patch to 'src/test/subscription/meson.build' cleanly. Applied patch to 'src/test/subscription/t/026_stats.pl' cleanly. Falling back to direct application... Applied patch to 'src/tools/pgindent/typedefs.list' cleanly.