=== Applying patches on top of PostgreSQL commit ID e032e4c7ddd0e1f7865b246ec18944365d4f8614 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v2-0001-Stabilise-incremental-sort-cost-calculation.patch patching file src/backend/optimizer/path/costsize.c Hunk #3 succeeded at 6604 (offset -1 lines). patching file src/backend/optimizer/path/equivclass.c patching file src/include/nodes/pathnodes.h patching file src/test/regress/expected/incremental_sort.out patching file src/test/regress/sql/incremental_sort.sql [cf/5231 7940bfe7c8] Stabilise incremental sort cost calculation. Author: Andrei V. Lepikhov Date: Tue Oct 29 08:49:33 2024 +0700 5 files changed, 152 insertions(+), 5 deletions(-) === applying patch ./v2-0002-Consider-the-number-of-columns-in-the-cost-sort-m.patch patching file contrib/postgres_fdw/expected/postgres_fdw.out patching file src/backend/optimizer/path/costsize.c patching file src/test/regress/expected/aggregates.out patching file src/test/regress/expected/join.out Hunk #1 succeeded at 5853 (offset 47 lines). patching file src/test/regress/expected/partition_join.out patching file src/test/regress/expected/union.out [cf/5231 60e60bff26] Consider the number of columns in the cost-sort model. Author: Andrei V. Lepikhov Date: Mon Oct 21 15:21:34 2024 +0400 6 files changed, 78 insertions(+), 66 deletions(-) === applying patch ./v2-0003-Consider-ndistinct-on-the-first-column-in-cost_so.patch patching file src/backend/optimizer/path/costsize.c Hunk #3 succeeded at 6673 (offset -1 lines). patching file src/test/regress/expected/aggregates.out patching file src/test/regress/expected/partition_join.out patching file src/test/regress/sql/aggregates.sql [cf/5231 4f1b82307e] Consider ndistinct on the first column in cost_sort(). Author: Andrei V. Lepikhov Date: Tue Oct 22 16:54:49 2024 +0400 4 files changed, 66 insertions(+), 25 deletions(-) === applying patch ./v2-0004-Add-GROUP-BY-strategy-put-the-most-distinct-colum.patch patching file src/backend/optimizer/path/pathkeys.c patching file src/test/regress/expected/aggregates.out patching file src/test/regress/sql/aggregates.sql [cf/5231 cdd0da049f] Add GROUP-BY strategy: put the most distinct column at the head. Author: Andrei V. Lepikhov Date: Tue Oct 29 09:29:30 2024 +0700 3 files changed, 97 insertions(+), 29 deletions(-)