model-writtenrun 4533 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tomas Vondra reported that randomized join testing exposed incorrect FULL JOIN constant propagation: reversed operands could receive the wrong JoinDomains, while operands not belonging to opposite inputs could produce invalid deductions and wrong results; he proposed checking operand ownership in #1.
- Tomas supplied polished branch-specific patches with shorter explanations and broader tests in #2, while asking whether the PostgreSQL 15 SpecialJoinInfo lookup and its failure handling were correct.
- Tomas committed the development-branch fix from #2 as e50d958f09 and announced backpatching in #3, explaining why the PostgreSQL 15 lookup must succeed and replacing its error check with an assertion.
- After the commit, Kirill Reshke reported a separate wrong-result case involving nonstrict functions such as concat() and quote_nullable(), and supplied a guard rejecting nonstrict FULL JOIN operands in #4.
- Tomas identified Kirill's report as apparently matching another bug already being addressed in a separate thread and requested review of his more elaborate fix in #5.
- Tomas confirmed that his separate patch produced the expected result for Kirill's example in #6; the original operand-ownership fix had landed, while the nonstrict-function issue was directed to that other thread without a further landing shown here.