=== Applying patches on top of PostgreSQL commit ID c1ff2d8bc5be55e302731a16aaff563b7f03ed7c === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./0001-v2-POC-Partial-aggregate-pushdown-notinternal-transtype.patch patching file contrib/postgres_fdw/deparse.c patching file contrib/postgres_fdw/expected/postgres_fdw.out Hunk #1 succeeded at 10142 (offset 47 lines). Hunk #2 succeeded at 10226 (offset 47 lines). Hunk #3 succeeded at 10266 (offset 47 lines). patching file contrib/postgres_fdw/option.c patching file contrib/postgres_fdw/postgres_fdw.c Hunk #6 succeeded at 488 (offset 2 lines). Hunk #7 succeeded at 525 (offset 2 lines). Hunk #8 succeeded at 533 (offset 2 lines). Hunk #9 succeeded at 664 (offset 2 lines). Hunk #10 succeeded at 677 (offset 2 lines). Hunk #11 succeeded at 1255 (offset 7 lines). Hunk #12 succeeded at 1359 (offset 7 lines). Hunk #13 succeeded at 1439 (offset 7 lines). Hunk #14 succeeded at 1459 (offset 7 lines). Hunk #15 succeeded at 1612 (offset 7 lines). Hunk #16 succeeded at 1641 (offset 7 lines). Hunk #17 succeeded at 3939 (offset 23 lines). Hunk #18 succeeded at 4431 (offset 23 lines). Hunk #19 succeeded at 4725 (offset 23 lines). Hunk #20 succeeded at 5516 (offset 23 lines). Hunk #21 succeeded at 6127 (offset 23 lines). Hunk #22 succeeded at 6304 (offset 27 lines). Hunk #23 succeeded at 6376 (offset 27 lines). Hunk #24 succeeded at 6564 (offset 31 lines). Hunk #25 succeeded at 6573 (offset 31 lines). Hunk #26 succeeded at 6607 (offset 31 lines). Hunk #27 succeeded at 6624 (offset 31 lines). Hunk #28 succeeded at 6710 (offset 31 lines). Hunk #29 succeeded at 6826 (offset 31 lines). Hunk #30 succeeded at 6843 (offset 31 lines). Hunk #31 succeeded at 6888 (offset 32 lines). Hunk #32 succeeded at 6909 (offset 32 lines). Hunk #33 succeeded at 7450 (offset 42 lines). Hunk #34 succeeded at 7688 (offset 42 lines). Hunk #35 succeeded at 7771 (offset 42 lines). Hunk #36 succeeded at 8095 (offset 42 lines). patching file contrib/postgres_fdw/postgres_fdw.h Hunk #1 succeeded at 85 (offset 1 line). Hunk #2 succeeded at 120 (offset 1 line). patching file contrib/postgres_fdw/sql/postgres_fdw.sql Hunk #1 succeeded at 3175 (offset 25 lines). Hunk #2 succeeded at 3209 (offset 25 lines). Hunk #3 succeeded at 3235 (offset 25 lines). patching file src/backend/catalog/pg_aggregate.c patching file src/backend/commands/aggregatecmds.c patching file src/backend/executor/nodeAgg.c patching file src/backend/nodes/makefuncs.c patching file src/backend/optimizer/plan/planner.c Hunk #1 succeeded at 207 (offset 2 lines). Hunk #2 succeeded at 5617 (offset 105 lines). Hunk #3 succeeded at 5725 (offset 105 lines). Hunk #4 succeeded at 5775 (offset 105 lines). Hunk #5 succeeded at 5789 (offset 105 lines). Hunk #6 succeeded at 7455 (offset 107 lines). patching file src/backend/optimizer/plan/setrefs.c Hunk #1 succeeded at 2596 (offset 24 lines). patching file src/backend/optimizer/prep/prepagg.c patching file src/backend/parser/gram.y Hunk #2 FAILED at 764. Hunk #3 succeeded at 15582 (offset -35 lines). Hunk #4 succeeded at 15607 (offset -35 lines). Hunk #5 succeeded at 15621 (offset -35 lines). Hunk #6 succeeded at 16213 (offset -35 lines). Hunk #7 succeeded at 17736 with fuzz 2 (offset -35 lines). 1 out of 7 hunks FAILED -- saving rejects to file src/backend/parser/gram.y.rej patching file src/backend/parser/parse_agg.c Hunk #2 succeeded at 107 (offset 5 lines). Hunk #3 succeeded at 153 (offset 5 lines). Hunk #4 succeeded at 228 (offset 5 lines). patching file src/backend/parser/parse_clause.c patching file src/backend/parser/parse_expr.c Hunk #1 succeeded at 3877 (offset 8 lines). patching file src/backend/parser/parse_func.c patching file src/backend/utils/adt/numeric.c Hunk #1 succeeded at 621 (offset 11 lines). patching file src/backend/utils/adt/ruleutils.c Hunk #1 succeeded at 10757 (offset 244 lines). patching file src/bin/pg_dump/pg_dump.c Hunk #1 succeeded at 14142 (offset 2 lines). patching file src/include/catalog/pg_aggregate.dat Hunk #2 FAILED at 94. Hunk #3 succeeded at 504 (offset 6 lines). 1 out of 3 hunks FAILED -- saving rejects to file src/include/catalog/pg_aggregate.dat.rej patching file src/include/catalog/pg_aggregate.h patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 5038 (offset 69 lines). patching file src/include/executor/nodeAgg.h patching file src/include/nodes/parsenodes.h Hunk #1 succeeded at 433 (offset 2 lines). patching file src/include/nodes/pathnodes.h Hunk #1 succeeded at 3291 (offset 7 lines). Hunk #2 succeeded at 3308 (offset 7 lines). patching file src/include/nodes/primnodes.h patching file src/include/parser/kwlist.h Hunk #1 succeeded at 334 with fuzz 2. patching file src/include/parser/parse_agg.h patching file src/test/regress/expected/aggregates.out Hunk #1 succeeded at 3436 (offset 40 lines). patching file src/test/regress/expected/create_aggregate.out patching file src/test/regress/expected/oidjoins.out patching file src/test/regress/expected/partition_aggregate.out patching file src/test/regress/sql/aggregates.sql Hunk #1 succeeded at 1571 (offset 6 lines). patching file src/test/regress/sql/create_aggregate.sql patching file src/test/regress/sql/partition_aggregate.sql