model-writtenrun 140 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tender Wang reported a wrong-result case found through LLM-generated fuzz tests: self-join elimination treated restrictions with different equality operators as equivalent, and his initial patch added operator and collation checks with regression tests #1.
- Tom Lane proposed comparing complete clauses with equal() after relation-ID substitution, arguing that supporting commuted restrictions offered too little value for the operand-matching complexity #2.
- Tender adopted that approach, removed the newly added regression tests, and reported that existing regression tests showed no plan differences, suggesting they did not cover elimination enabled by commuted restrictions #3.
- Tom committed the revised patch with comment edits and an assertion moved outside the loop; the commit records backpatching through PostgreSQL 18 #3 86ce68d9e6.
- The thread ended with Tom confirming the patch was pushed and explaining that commuted-clause support could use CommuteOpExpr if revisited, although he doubted its value; no further patch remained pending #4.