model-writtenrun 438 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zheng Hacker reported that a NULL range target in DELETE or UPDATE FOR PORTION OF produced SQLSTATE XX000, supplying a reproducer found through automated SQL fuzzing and crediting Zheng Wang, Yanjie Zhao, and Yiyang Liu #1.
- The report identified the missing explicit error code in ExecInitModifyTable and proposed using a proper SQLSTATE such as 22004, null_value_not_allowed #1.
- Zsolt Parragi supplied a patch adding ERRCODE_NULL_VALUE_NOT_ALLOWED, changing the message to “FOR PORTION OF target must not be null,” and updating four existing regression expectations #2.
- Peter Eisentraut committed the patch without substantive changes as c7e34c31e8, matching the submission in #2.
- Peter Eisentraut confirmed that the fix was committed, leaving no outstanding work identified in the thread #3.