Dec 2024

1 commit
Avoid unnecessary wrapping for Vars and PHVs
9 Dec 2024Richard Guomaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #111 of 3 reviewers saw the final version

The src/backend/optimizer/prep/prepjointree.c diff matches #11 exactly; the commit adds two negative regression cases in subselect.sql and their expected output, checking when Vars and PHVs must remain wrapped. Richard Guo confirms these additions and the push in #13, following Andrei Lepikhov's request in #12.

  • James Colemansaw an earlier versiontrailerApproved the initial approach and suggested clearer comments and stable test ordering in #2 and #4, before PHV support and the nullingrel_info rework.
  • Dmitry Dolgovsaw an earlier versiontrailerApproved the lowest_nullable_relids implementation and requested more precise nullability wording in #8, before the nullingrel_info rework.
  • Andrei Lepikhovsaw the final versiontrailerReviewed the reworked implementation favorably and requested negative coverage in #12, after which only regression tests were added.

Credits across 1 commit

Author
Richard Guo1
Reviewer
Andrei Lepikhov1
Dmitry Dolgov1
James Coleman1
Committer
Richard Guo1