Mar 2024

1 commit
Trim ORDER BY/DISTINCT aggregate pathkeys in gather_grouping_paths
14 Mar 2024David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #12

The commit retains the groupby_pathkeys truncation and substitutions from #12 in src/backend/optimizer/plan/planner.c, but additionally passes the trimmed list to create_sort_path(). It also expands the explanatory comment 4169850f0b.

Oct 2023

1 commit
Strip off ORDER BY/DISTINCT aggregate pathkeys in create_agg_path
9 Oct 2023David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #51 of 1 reviewer saw the final version

The commit takes the create_agg_path() fix from #5, with only comment wrapping and whitespace changes in src/backend/optimizer/util/pathnode.c. The separate experimental assertions in src/backend/optimizer/plan/createplan.c were omitted d8a295389b.

  • Richard Guosaw the final versiontrailerRichard endorsed the trimming fix as safe and clarified why trimming computable expressions also removes redundant ordering, before the commit #6 #8.

Credits across 2 commits

Author
David RowleyLLM2
Reviewer
Richard Guo1
Reported by
Alexander Lakhin1
Justin Pryzby1
Committer
David Rowley2

N LLM means N of the credits come from LLM analysis, not from commit trailers.