model-writtenrun 360 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Paul A Jungwirth submitted #1 to fix FOR PORTION OF bounds that required explicit parameter casts in PREPARE and deparsed untyped NULL bounds with the unknown type.
- Paul explained in #1 that range construction already coerced the bounds, but ForPortionOfExpr retained the original expressions; his patch stores copies of the coerced expressions.
- The patch in #1 adds regression tests for parameter type inference, execution, and rule deparsing, and updates SQL-function deparsing expectations to include date casts.
- Peter Eisentraut committed #1 unchanged apart from rebasing as f194032168, retaining the credit to Noah Misch for reporting the issue.
- Peter announced that the fix was committed in #2, closing the thread with the entire submitted patch landed and no outstanding changes discussed.