Apr 2026

1 commit
Clean up remove_rel_from_query() after self-join elimination commit
20 Apr 2026Richard Guomaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #13 of 3 reviewers saw the final version

The diff matches #1 in src/backend/optimizer/plan/analyzejoins.c except for the added Assert(!is_outer_join || joinrelids != NULL). This assertion was suggested in #4 and accepted in #5.

  • Tender Wangsaw the final versiontrailerTender reviewed the attached patch and said it looked good in #2; only a defensive assertion was subsequently added.
  • Andrei Lepikhovsaw the final versiontrailerAndrei reviewed the code and accepted caller-specific cleanup responsibilities in #3; only a defensive assertion was subsequently added.
  • wenhui qiusaw the final versiontrailerwenhui proposed explicit joinrelids assertions in #4 and approved the patch with the accepted assertion in #6.

Credits across 1 commit

Author
Richard Guo1
Reviewer
Andrei Lepikhov1
Tender Wang1
wenhui qiu1
Committer
Richard Guo1