model-writtenrun 9585 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Following a related partition-bound crash fix, Michael Paquier posted a patch based on an idea from Amit Langote to reject column references during expression transformation, making errors in defaults and partition bounds more useful while adding regression coverage #1.
- Tom Lane supported the approach, suggested shortening the expression-kind switch, and proposed documentation wording that separately explains the restrictions on column references and subqueries #2.
- Michael defended the exhaustive switch because omitting a default case lets compiler warnings flag newly added expression kinds, and accepted Tom's documentation suggestion #3.
- Michael committed the patch from #1 as ecfed4a122, retaining its code and tests while adopting Tom's documentation wording; his announcement confirmed both choices #4.
- Amit thanked Michael after the change landed, and the thread ended with no outstanding patch revisions #5.