=== Applying patches on top of PostgreSQL commit ID 03a42c9652f8cc2c447840e39418b862c48fd41d === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v57-0001-Move-PartitionPruneInfo-out-of-plan-nodes-into-P.patch patching file src/backend/executor/execMain.c Hunk #1 succeeded at 856 (offset 5 lines). patching file src/backend/executor/execParallel.c patching file src/backend/executor/execPartition.c patching file src/backend/executor/execUtils.c patching file src/backend/executor/nodeAppend.c patching file src/backend/executor/nodeMergeAppend.c patching file src/backend/optimizer/plan/createplan.c patching file src/backend/optimizer/plan/planner.c Hunk #1 succeeded at 547 (offset -6 lines). patching file src/backend/optimizer/plan/setrefs.c patching file src/backend/partitioning/partprune.c patching file src/include/executor/execPartition.h patching file src/include/nodes/execnodes.h patching file src/include/nodes/pathnodes.h patching file src/include/nodes/plannodes.h patching file src/include/partitioning/partprune.h [cf/3478 1ed453d9c3] Move PartitionPruneInfo out of plan nodes into PlannedStmt Author: Amit Langote Date: Wed Oct 23 15:37:32 2024 +0900 15 files changed, 133 insertions(+), 62 deletions(-) === applying patch ./v57-0002-Initialize-PartitionPruneContexts-lazily.patch patching file src/backend/executor/execPartition.c patching file src/backend/partitioning/partprune.c patching file src/include/executor/execPartition.h patching file src/include/partitioning/partprune.h [cf/3478 ea54ef6f22] Initialize PartitionPruneContexts lazily Author: Amit Langote Date: Wed Oct 23 16:55:42 2024 +0900 4 files changed, 123 insertions(+), 49 deletions(-) === applying patch ./v57-0003-Perform-runtime-initial-pruning-outside-ExecInit.patch patching file src/backend/executor/execMain.c Hunk #2 succeeded at 825 (offset 5 lines). Hunk #3 succeeded at 904 (offset 5 lines). patching file src/backend/executor/execPartition.c patching file src/include/executor/execPartition.h patching file src/include/nodes/execnodes.h [cf/3478 9683df747d] Perform runtime initial pruning outside ExecInitNode() Author: Amit Langote Date: Wed Oct 23 17:02:33 2024 +0900 4 files changed, 90 insertions(+), 24 deletions(-) === applying patch ./v57-0004-Defer-locking-of-runtime-prunable-relations-to-e.patch patching file src/backend/commands/copyto.c patching file src/backend/commands/createas.c Hunk #1 succeeded at 332 (offset 8 lines). patching file src/backend/commands/explain.c Hunk #1 succeeded at 512 (offset -3 lines). Hunk #2 succeeded at 634 (offset 11 lines). Hunk #3 succeeded at 691 (offset 11 lines). patching file src/backend/commands/extension.c Hunk #1 succeeded at 907 (offset 4 lines). patching file src/backend/commands/matview.c patching file src/backend/commands/prepare.c Hunk #1 FAILED at 655. 1 out of 1 hunk FAILED -- saving rejects to file src/backend/commands/prepare.c.rej patching file src/backend/executor/execMain.c Hunk #1 succeeded at 55 with fuzz 2 (offset 1 line). Hunk #2 succeeded at 93 (offset 1 line). Hunk #3 succeeded at 608 (offset 5 lines). Hunk #4 succeeded at 884 (offset 5 lines). Hunk #5 succeeded at 936 (offset 5 lines). Hunk #6 succeeded at 956 (offset 5 lines). Hunk #7 succeeded at 967 (offset 5 lines). Hunk #8 succeeded at 988 (offset 5 lines). Hunk #9 succeeded at 3037 (offset 5 lines). patching file src/backend/executor/execParallel.c patching file src/backend/executor/execPartition.c patching file src/backend/executor/functions.c patching file src/backend/executor/nodeAppend.c patching file src/backend/executor/nodeLockRows.c patching file src/backend/executor/nodeMergeAppend.c patching file src/backend/executor/nodeModifyTable.c patching file src/backend/executor/spi.c patching file src/backend/optimizer/plan/planner.c Hunk #1 succeeded at 549 (offset -6 lines). patching file src/backend/optimizer/plan/setrefs.c patching file src/backend/partitioning/partprune.c patching file src/backend/tcop/pquery.c Hunk #8 succeeded at 1281 (offset -1 lines). Hunk #9 succeeded at 1291 (offset -1 lines). patching file src/backend/utils/cache/plancache.c patching file src/include/commands/explain.h Hunk #1 succeeded at 103 with fuzz 2. patching file src/include/executor/execPartition.h patching file src/include/executor/execdesc.h patching file src/include/nodes/execnodes.h Hunk #3 succeeded at 1432 (offset -1 lines). patching file src/include/nodes/pathnodes.h patching file src/include/nodes/plannodes.h patching file src/include/utils/plancache.h patching file src/test/regress/expected/partition_prune.out patching file src/test/regress/sql/partition_prune.sql