May - Jun 2023

2 commits
Fix oversight in outer join removal.
8 Jun 2023Tom Lanemaster16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit implements Richard Guo's inline !bms_is_member(ojrelid, phinfo->ph_eval_at) guard from #9 in src/backend/optimizer/plan/analyzejoins.c and adds regression tests for the placeholder failures reported in #8. Tom Lane confirms pushing that fix in #10.

  • Tom Lanesaw the final versioncommittercommitted the patch
Fix joinclause removal logic to cope with cloned clauses.
26 May 2023Tom Lanemaster16beta2REL_19_STABLE16beta2REL_18_STABLE16beta2REL_17_STABLE16beta2REL_16_STABLE16beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #51 of 1 reviewer saw the final version

The commit retains the commute_above_r/commute_below_l fix from #5, but moves joinrelids computation into remove_rel_from_query, renames variables, adds assertions, and adds a regression test. These changes implement the refactoring discussed in #6 and the additional checks described in #7.

  • Richard Guosaw the final versionLLM analysis, 99% sureRichard supplied a case requiring commute_above_r, endorsed the refactoring, and proposed the adopted ojrelid assertion in #6; the remaining additions were diagnostic assertions and regression coverage, and 7a844c77ec explicitly credits his review.

Credits across 2 commits

Author
Richard GuoLLM1
Tom LaneLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane2

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