model-writtenrun 359 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Paul A Jungwirth submitted a fix for FOR PORTION OF bounds being evaluated during EXPLAIN, causing missing-parameter errors, null-target errors, and additional function calls #1.
- The patch guards target evaluation and its null check with EXEC_FLAG_EXPLAIN_ONLY, while retaining normal execution behavior #1.
- Regression tests cover generic plans, null targets under plain EXPLAIN, errors during execution and EXPLAIN ANALYZE, and a successful portion update #1.
- Peter Eisentraut committed the patch with only declaration-scope cleanup, a comment correction, and rebase adjustments as 98f6984e5c.
- Peter confirmed that the fix was committed in the final reply, leaving no outstanding work identified in this thread #2.