=== Applying patches on top of PostgreSQL commit ID f554a95379a9adef233d21b1e1e8981a8f5f8de3 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Wed Mar 12 13:02:47 UTC 2025 On branch cf/5567 nothing to commit, working tree clean === using 'git am' to apply patch ./v1-0001-Change-log-message-when-hot-standby-is-not-access.patch === Applying: Change log message when hot standby is not accessible === using 'git am' to apply patch ./v1-0001-Make-it-clear-when-hot-standby-is-inaccessible-du.patch === Applying: Make it clear when hot standby is inaccessible due to subtransaction overflow Using index info to reconstruct a base tree... M src/backend/postmaster/postmaster.c M src/backend/tcop/backend_startup.c M src/include/tcop/backend_startup.h Falling back to patching base and 3-way merge... Auto-merging src/include/tcop/backend_startup.h CONFLICT (content): Merge conflict in src/include/tcop/backend_startup.h Auto-merging src/backend/tcop/backend_startup.c Auto-merging src/backend/postmaster/postmaster.c CONFLICT (content): Merge conflict in src/backend/postmaster/postmaster.c error: Failed to merge in the changes. hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 Make it clear when hot standby is inaccessible due to subtransaction overflow 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". Unstaged changes after reset: M src/backend/postmaster/postmaster.c M src/backend/storage/ipc/procarray.c M src/backend/tcop/backend_startup.c M src/include/storage/pmsignal.h M src/include/tcop/backend_startup.h === using patch(1) to apply patch ./v1-0001-Make-it-clear-when-hot-standby-is-inaccessible-du.patch === patch: unrecognized option `--no-backup-if-mismatch' usage: patch [-bCcEeflNnRstuv] [-B backup-prefix] [-D symbol] [-d directory] [-F max-fuzz] [-i patchfile] [-o out-file] [-p strip-count] [-r rej-name] [-V t | nil | never | none] [-x number] [-z backup-ext] [--posix] [origfile [patchfile]] patch >>>>>> theirs else return CAC_RECOVERY; /* else must be crash recovery */ } diff --cc src/include/tcop/backend_startup.h index 6580efcfbd4,866a3b7cd2c..00000000000 --- a/src/include/tcop/backend_startup.h +++ b/src/include/tcop/backend_startup.h @@@ -29,7 -29,8 +29,12 @@@ typedef enum CAC_stat CAC_STARTUP, CAC_SHUTDOWN, CAC_RECOVERY, ++<<<<<<< ours + CAC_NOTCONSISTENT_OR_OVERFLOWED, ++======= + CAC_NOTCONSISTENT, + CAC_SNAPSHOT_PENDING, ++>>>>>>> theirs CAC_TOOMANY, } CAC_state;