model-writtenrun 2727 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Richard Guo proposed extending PlaceHolderVar wrapping avoidance from bare variables to more complex strict expressions, reducing lateral dependencies that can force nested-loop joins #1.
- The safety argument was that a referenced relation under the same lowest nulling outer join becomes NULL whenever the subquery does, so the strict expression also evaluates to NULL without a wrapper #1.
- The patch added the nullable-relation check and regression cases covering both expressions that can escape wrapping and those that still require it #1.
- Richard Guo committed the sole patchset unchanged as 60be3f9f0a, with no backpatch because the optimization could change query plans.
- Richard Guo closed the thread by announcing that the patch had been pushed; no independent review or outstanding work appears in the supplied discussion #2.