=== Applying patches on top of PostgreSQL commit ID d6d8054dc72d4844f52f1552f8d3074c16987e32 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Sun Mar 30 04:18:19 UTC 2025 On branch cf/5638 nothing to commit, working tree clean === using 'git am' to apply patch ./v-1-0001-Minor-rework-of-ALTER-TABLE-SET-RelOptions-code.patch === Applying: 1/1] Minor rework of ALTER TABLE SET RelOptions code Using index info to reconstruct a base tree... M src/backend/commands/tablecmds.c Falling back to patching base and 3-way merge... Auto-merging src/backend/commands/tablecmds.c CONFLICT (content): Merge conflict in src/backend/commands/tablecmds.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 1/1] Minor rework of ALTER TABLE SET RelOptions code 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/commands/tablecmds.c === using patch(1) to apply patch ./v-1-0001-Minor-rework-of-ALTER-TABLE-SET-RelOptions-code.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 /* Get the old reloptions */ datum = SysCacheGetAttr(RELOID, tuple, Anum_pg_class_reloptions, &isnull); @@@ -16094,7 -15861,11 +16097,15 @@@ (void) index_reloptions(rel->rd_indam->amoptions, newOptions, true); break; case RELKIND_TOASTVALUE: ++<<<<<<< ours + /* fall through to error -- shouldn't ever get here */ ++======= + /* Should never get here */ + /* TOAST options are never altered directly */ + Assert(0); + /* FALLTHRU */ + /* If we get here in prod. error is the best option */ ++>>>>>>> theirs default: ereport(ERROR, (errcode(ERRCODE_WRONG_OBJECT_TYPE), @@@ -16188,7 -15959,6 +16199,10 @@@ else { bool isnull; ++<<<<<<< ours + ++======= ++>>>>>>> theirs /* Get the old reloptions */ datum = SysCacheGetAttr(RELOID, tuple, Anum_pg_class_reloptions, &isnull); @@@ -16197,7 -15967,7 +16211,11 @@@ } newOptions = transformRelOptions(datum, defList, "toast", validnsps, ++<<<<<<< ours + false, operation == AT_ResetRelOptions); ++======= + false, operation == AT_ResetRelOptions); ++>>>>>>> theirs (void) heap_reloptions(RELKIND_TOASTVALUE, newOptions, true);