=== Applying patches on top of PostgreSQL commit ID 534db08f972852b77ea5e96e77d5fe45f3d8df93 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. Thu Sep 3 19:25:32 UTC 2026 On branch cf/6724 nothing to commit, working tree clean === using 'git am' to apply patch ./v9-0001-Fix-memory-leak-in-make_build_data.patch === Applying: Fix memory leak in make_build_data() === using 'git am' to apply patch ./v9-0002-Unify-extended-statistics-columns-and-expressions.patch === Applying: Unify extended statistics columns and expressions into a single stxexprs list error: sha1 information is lacking or useless (src/backend/statistics/extended_stats.c). error: could not build fake ancestor hint: Use 'git am --show-current-patch=diff' to see the failed patch Patch failed at 0001 Unify extended statistics columns and expressions into a single stxexprs list 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 ./v9-0002-Unify-extended-statistics-columns-and-expressions.patch === patching file doc/src/sgml/catalogs.sgml Hunk #1 succeeded at 8335 (offset 12 lines). Hunk #2 succeeded at 8373 (offset 12 lines). patching file doc/src/sgml/perform.sgml Hunk #1 succeeded at 1542 (offset 1 line). Hunk #2 succeeded at 1650 (offset 1 line). patching file doc/src/sgml/system-views.sgml patching file src/backend/catalog/system_views.sql patching file src/backend/commands/statscmds.c Hunk #2 FAILED at 46. Hunk #3 succeeded at 81 (offset 6 lines). Hunk #4 succeeded at 97 (offset 6 lines). Hunk #5 succeeded at 242 (offset -4 lines). Hunk #6 succeeded at 298 (offset -4 lines). Hunk #7 succeeded at 335 (offset -4 lines). Hunk #8 succeeded at 387 (offset -4 lines). Hunk #9 succeeded at 446 (offset -4 lines). Hunk #10 succeeded at 496 (offset -4 lines). Hunk #11 succeeded at 518 (offset -4 lines). Hunk #12 succeeded at 538 (offset -4 lines). Hunk #13 succeeded at 570 (offset -4 lines). Hunk #14 succeeded at 581 (offset -4 lines). Hunk #15 FAILED at 595. 2 out of 15 hunks FAILED -- saving rejects to file src/backend/commands/statscmds.c.rej patching file src/backend/optimizer/util/plancat.c Hunk #1 succeeded at 1652 (offset -2 lines). Hunk #2 succeeded at 1673 (offset -2 lines). Hunk #3 succeeded at 1686 (offset -2 lines). Hunk #4 succeeded at 1699 (offset -2 lines). Hunk #5 succeeded at 1712 (offset -2 lines). Hunk #6 succeeded at 1742 (offset -2 lines). patching file src/backend/parser/parse_utilcmd.c Hunk #1 succeeded at 2049 (offset 7 lines). Hunk #2 succeeded at 2059 (offset 7 lines). Hunk #3 succeeded at 2079 (offset 7 lines). Hunk #4 succeeded at 2104 (offset 7 lines). Hunk #5 succeeded at 2140 (offset 7 lines). patching file src/backend/statistics/dependencies.c Hunk #1 succeeded at 394 (offset 1 line). Hunk #2 succeeded at 604 (offset 1 line). Hunk #3 succeeded at 631 (offset 1 line). Hunk #4 succeeded at 1309 (offset 1 line). Hunk #5 succeeded at 1550 (offset 1 line). Hunk #6 succeeded at 1562 (offset 1 line). Hunk #7 succeeded at 1595 (offset 1 line). Hunk #8 succeeded at 1639 (offset 1 line). Hunk #9 succeeded at 1694 (offset 1 line). patching file src/backend/statistics/extended_stats.c Hunk #9 FAILED at 851. 1 out of 19 hunks FAILED -- saving rejects to file src/backend/statistics/extended_stats.c.rej patching file src/backend/statistics/extended_stats_funcs.c patching file src/backend/statistics/mcv.c patching file src/backend/statistics/mvdistinct.c Hunk #2 succeeded at 347 (offset -1 lines). Hunk #3 succeeded at 374 (offset -1 lines). patching file src/backend/utils/adt/ruleutils.c patching file src/backend/utils/adt/selfuncs.c Hunk #1 succeeded at 4628 (offset 1 line). Hunk #2 succeeded at 4693 (offset 1 line). Hunk #3 succeeded at 4731 (offset 1 line). Hunk #4 succeeded at 4758 (offset 1 line). Hunk #5 succeeded at 5931 (offset 1 line). patching file src/bin/psql/describe.c patching file src/include/catalog/pg_proc.dat patching file src/include/catalog/pg_statistic_ext.h patching file src/include/nodes/pathnodes.h patching file src/include/statistics/extended_stats_internal.h patching file src/include/statistics/statistics.h patching file src/test/regress/expected/create_table_like.out patching file src/test/regress/expected/oidjoins.out patching file src/test/regress/expected/rules.out patching file src/test/regress/expected/stats_ext.out Hunk #3 succeeded at 310 (offset 4 lines). Hunk #4 succeeded at 3233 (offset 4 lines). Hunk #5 succeeded at 3790 (offset 29 lines). Hunk #6 succeeded at 3807 (offset 29 lines). patching file src/test/regress/expected/stats_import.out Hunk #2 succeeded at 3742 (offset 157 lines). Hunk #3 succeeded at 3941 (offset 157 lines). Hunk #4 succeeded at 3960 (offset 157 lines). patching file src/test/regress/sql/create_table_like.sql patching file src/test/regress/sql/stats_ext.sql Hunk #1 succeeded at 180 (offset 2 lines). Hunk #2 succeeded at 1624 (offset 2 lines). Hunk #3 succeeded at 1956 (offset 20 lines). patching file src/test/regress/sql/stats_import.sql Hunk #1 succeeded at 2587 (offset 110 lines). Unstaged changes after reset: M doc/src/sgml/catalogs.sgml M doc/src/sgml/perform.sgml M doc/src/sgml/system-views.sgml M src/backend/catalog/system_views.sql M src/backend/commands/statscmds.c M src/backend/optimizer/util/plancat.c M src/backend/parser/parse_utilcmd.c M src/backend/statistics/dependencies.c M src/backend/statistics/extended_stats.c M src/backend/statistics/extended_stats_funcs.c M src/backend/statistics/mcv.c M src/backend/statistics/mvdistinct.c M src/backend/utils/adt/ruleutils.c M src/backend/utils/adt/selfuncs.c M src/bin/psql/describe.c M src/include/catalog/pg_proc.dat M src/include/catalog/pg_statistic_ext.h M src/include/nodes/pathnodes.h M src/include/statistics/extended_stats_internal.h M src/include/statistics/statistics.h M src/test/regress/expected/create_table_like.out M src/test/regress/expected/oidjoins.out M src/test/regress/expected/rules.out M src/test/regress/expected/stats_ext.out M src/test/regress/expected/stats_import.out M src/test/regress/sql/create_table_like.sql M src/test/regress/sql/stats_ext.sql M src/test/regress/sql/stats_import.sql Removing src/backend/commands/statscmds.c.rej Removing src/backend/statistics/extended_stats.c.rej === using 'git apply' to apply patch ./v9-0002-Unify-extended-statistics-columns-and-expressions.patch === Applied patch to 'doc/src/sgml/catalogs.sgml' cleanly. Applied patch to 'doc/src/sgml/perform.sgml' cleanly. Applied patch to 'doc/src/sgml/system-views.sgml' cleanly. Applied patch to 'src/backend/catalog/system_views.sql' cleanly. Applied patch to 'src/backend/commands/statscmds.c' with conflicts. Applied patch to 'src/backend/optimizer/util/plancat.c' cleanly. Applied patch to 'src/backend/parser/parse_utilcmd.c' cleanly. Applied patch to 'src/backend/statistics/dependencies.c' cleanly. error: repository lacks the necessary blob to perform 3-way merge. Falling back to direct application... error: patch failed: src/backend/statistics/extended_stats.c:720 error: src/backend/statistics/extended_stats.c: patch does not apply Applied patch to 'src/backend/statistics/extended_stats_funcs.c' cleanly. Applied patch to 'src/backend/statistics/mcv.c' cleanly. Applied patch to 'src/backend/statistics/mvdistinct.c' cleanly. Applied patch to 'src/backend/utils/adt/ruleutils.c' cleanly. Applied patch to 'src/backend/utils/adt/selfuncs.c' cleanly. Applied patch to 'src/bin/psql/describe.c' cleanly. Applied patch to 'src/include/catalog/pg_proc.dat' cleanly. Applied patch to 'src/include/catalog/pg_statistic_ext.h' cleanly. Applied patch to 'src/include/nodes/pathnodes.h' cleanly. Applied patch to 'src/include/statistics/extended_stats_internal.h' cleanly. Applied patch to 'src/include/statistics/statistics.h' cleanly. Applied patch to 'src/test/regress/expected/create_table_like.out' cleanly. Applied patch to 'src/test/regress/expected/oidjoins.out' cleanly. Applied patch to 'src/test/regress/expected/rules.out' cleanly. Applied patch to 'src/test/regress/expected/stats_ext.out' cleanly. Applied patch to 'src/test/regress/expected/stats_import.out' cleanly. Applied patch to 'src/test/regress/sql/create_table_like.sql' cleanly. Applied patch to 'src/test/regress/sql/stats_ext.sql' cleanly. Applied patch to 'src/test/regress/sql/stats_import.sql' cleanly.