Dec 2023

3 commits
Fix a comment for remove_self_joins_recurse()
24 Dec 2023Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #192 of 2 reviewers saw the final version

Exactly matches the third component of #19, removing the obsolete GUC reference from the remove_self_joins_recurse comment in src/backend/optimizer/plan/analyzejoins.c. It commits only that component of the three-patch series.

  • Andrei Lepikhovsaw the final versiontrailerIn #20, he explicitly accepted the comment patch while suggesting that the three patches could be squashed.
  • Alexander Korotkovsaw the final versioncommittercommitted the patch
Don't constrain self-join removal due to PHVs
24 Dec 2023Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #192 of 2 reviewers saw the final version

Exactly matches the second component of #19, including removal of the PHV exclusion loop, adjustment of ph_lateral, and both regression-test changes. The walker and comment components were committed separately.

  • Andrei Lepikhovsaw the final versiontrailerHe approved removing the restrictions in #12 and reviewed the final series in #20, questioning EXPLAIN VERBOSE while considering the corrections ready to commit.
  • Alexander Korotkovsaw the final versioncommittercommitted the patch
Handle PlaceHolderVar case in replace_varno_walker
24 Dec 2023Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #192 of 2 reviewers saw the final version

Matches the first component of #19 modulo declaration whitespace: replace_varno_walker updates PHV relation sets and replaces the deleted sje_walker. It commits only this component of the series.

  • Andrei Lepikhovsaw the final versiontrailerIn #20, he explained why updating placeholder_list alone was insufficient and explicitly approved the walker correction.
  • Alexander Korotkovsaw the final versioncommittercommitted the patch

Nov 2023

2 commits
Fix how SJE checks against PHVs
10 Nov 2023Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #91 of 1 reviewer saw the final version

The implementation and regression query match #9; the only diff changes are wrapping and punctuating the test comment in src/test/regress/sql/join.sql and its expected output. Alexander Korotkov confirmed the temporary fix was pushed in #10.

  • Alexander Korotkovsaw the final versioncommittercommitted the patch
Fix the way SJE removes references from PHVs
9 Nov 2023Alexander Korotkovmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #42 of 2 reviewers saw the final version

All changed lines match #4, including replacement inside phv->phexpr, removal of the duplicate phrels update, and the regression test. The suggested bug-number addition to the test comment was not incorporated.

  • Andrei Lepikhovsaw the final versiontrailerHe reported that the patch looked correct and its regression test worked in #5, then accepted Richard Guo's explanation of test coverage in #7.
  • Alexander Korotkovsaw the final versioncommittercommitted the patch

Credits across 5 commits

Author
Richard Guo5
Reviewer
Alexander Korotkovcommitter5
Andrei Lepikhov4
Reported by
Zuming Jiang1
Committer
Alexander Korotkov5