model-writtenrun 7811 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened #1 with a lateral outer-join query that failed to assign NestLoopParams, tracing the failure to pull_varnos underestimating the relations needed to evaluate a PlaceHolderVar.
- In #1, Tom proposed passing PlannerInfo through the relevant APIs to use ph_eval_at, falling back to the syntactic relation set before placeholder information exists, and supplied a full fix with regression tests.
- For back branches, Tom also supplied a conservative alternative in #1, but noted that it prevented a valid join removal; he proposed compatibility wrappers as another option and left the backpatch boundary unresolved.
- In #2, Tom retained the development patch and replaced the conservative alternative with a back-branch delta preserving existing entry points through wrappers and macros, except for two functions he considered unlikely extension interfaces; the thread ended with that proposal awaiting feedback.
- Tom subsequently committed the development patch unchanged apart from rebasing as 55dc86eca7, choosing backpatching through v12 because earlier join-order restrictions appeared to prevent the malformed plans; no independent review appears in the thread.