Dec 2020

6 commits
Improve find_em_expr_usable_for_sorting_rel comment
22 Dec 2020Tomas Vondramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

Matches the fifth patch in #7, with the equivclass.c explanatory comment shortened and reworded; the createplan.c cross-reference is unchanged.

  • Tomas Vondrasaw the final versiontrailerRequested clearer documentation of the relationship between the sorting checks in #5, reviewed and revised the series in #7, and committed the final wording.
Don't search for volatile expr in find_em_expr_usable_for_sorting_rel
21 Dec 2020Tomas Vondramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

Matches the fourth patch in #7, additionally deleting the now-unused PathTarget *target declaration in find_em_expr_usable_for_sorting_rel.

  • Tomas Vondrasaw the final versiontrailerReviewed the expanded series in #5 and #7 and committed the volatile-expression cleanup with an unused-variable removal.
Disallow SRFs when considering sorts below Gather Merge
21 Dec 2020Tomas Vondramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2Also in: enable_incremental_sort changes query behavior (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #71 of 1 reviewer saw the final version

The third patch in #7 matches the committed SRF check, IS_SRF_CALL relocation, and regression test. This matching December submission is later than all supplied patchsets from thread #42997, whose latest is dated November 17.

  • Tomas Vondrasaw the final versiontrailerQuestioned the destination header for IS_SRF_CALL in #5, reviewed the revised series in #7, and committed it with the macro in optimizer.h.
Check parallel safety in generate_useful_gather_paths
21 Dec 2020Tomas Vondramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2Also in: segfault with incremental sort (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #71 of 1 reviewer saw the final version

The second patch in #7 matches all committed changes in allpaths.c, equivclass.c, paths.h, and the regression tests. Its December submission is later than the November 3 patchset supplied for thread #70358.

  • Tomas Vondrasaw the final versiontrailerExamined mixed parallel-safe equivalence-class members in #2, requested require_parallel_safe naming in #5, and reviewed and committed the final revision posted in #7.
Consider unsorted paths in generate_useful_gather_paths
21 Dec 2020Tomas Vondramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.2
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

Matches the first patch in #7, with one additional comment change in generate_useful_gather_paths explaining that both full and incremental sorts are generated; executable changes and tests are unchanged.

  • Tomas Vondrasaw the final versiontrailerConfirmed the skipped-unsorted-path bug in #2, reviewed subsequent versions in #5 and #7, and committed the final patch.
Error out when Gather Merge input is not sorted
15 Dec 2020Tomas Vondramaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1Also in: enable_incremental_sort changes query behavior (not this thread)

Credits across 6 commits

Author
James Coleman6
Reviewer
Tomas Vondra6
Reported by
Luis Roberto1
Committer
Tomas Vondra6