=== Applying patches on top of PostgreSQL commit ID 5941946d0934b9eccb0d5bfebd40b155249a0130 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Thu Mar 20 03:26:26 UTC 2025 On branch cf/4337 nothing to commit, working tree clean === using 'git am' to apply patch ./v34-0001-Add-a-syntax-to-create-Incrementally-Maintainabl.patch === Applying: Add a syntax to create Incrementally Maintainable Materialized Views Using index info to reconstruct a base tree... M src/backend/parser/gram.y M src/include/nodes/primnodes.h M src/include/parser/kwlist.h Falling back to patching base and 3-way merge... Auto-merging src/include/parser/kwlist.h Auto-merging src/include/nodes/primnodes.h Auto-merging src/backend/parser/gram.y === using 'git am' to apply patch ./v34-0002-Add-relisivm-column-to-pg_class-system-catalog.patch === Applying: Add relisivm column to pg_class system catalog === using 'git am' to apply patch ./v34-0003-Allow-to-prolong-life-span-of-transition-tables-.patch === Applying: Allow to prolong life span of transition tables until transaction end === using 'git am' to apply patch ./v34-0004-Add-Incremental-View-Maintenance-support-to-pg_d.patch === Applying: Add Incremental View Maintenance support to pg_dump Using index info to reconstruct a base tree... M src/bin/pg_dump/pg_dump.c M src/bin/pg_dump/pg_dump.h M src/bin/pg_dump/t/002_pg_dump.pl Falling back to patching base and 3-way merge... Auto-merging src/bin/pg_dump/t/002_pg_dump.pl Auto-merging src/bin/pg_dump/pg_dump.h Auto-merging src/bin/pg_dump/pg_dump.c CONFLICT (content): Merge conflict in src/bin/pg_dump/pg_dump.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 Add Incremental View Maintenance support to pg_dump 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/bin/pg_dump/pg_dump.c M src/bin/pg_dump/pg_dump.h M src/bin/pg_dump/t/002_pg_dump.pl === using patch(1) to apply patch ./v34-0004-Add-Incremental-View-Maintenance-support-to-pg_d.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 dobj.catId.oid); ++<<<<<<< ours + /* + * PostgreSQL 18 has disabled UNLOGGED for partitioned tables, so + * ignore it when dumping if it was set in this case. + */ + appendPQExpBuffer(q, "CREATE %s%s %s", + (tbinfo->relpersistence == RELPERSISTENCE_UNLOGGED && + tbinfo->relkind != RELKIND_PARTITIONED_TABLE) ? ++======= + appendPQExpBuffer(q, "CREATE %s%s%s %s", + tbinfo->relpersistence == RELPERSISTENCE_UNLOGGED ? ++>>>>>>> theirs "UNLOGGED " : "", + tbinfo->relkind == RELKIND_MATVIEW && tbinfo->isivm ? + "INCREMENTAL " : "", reltypename, qualrelname);