model-writtenrun 8009 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela reported a Coverity warning about dereferencing NIL actions in make_ruledef() and supplied a patch that errors when an event qualification lacks actions #1.
- Kyotaro Horiguchi explained that ev_qual and ev_action come from non-nullable catalog columns and replaced the proposed conditional error with non-NULL assertions consistent with neighboring code #2.
- Tom Lane questioned the obsolete nullable-column comment #3, and Kyotaro's investigation and revisions removed redundant NULL handling, removed that comment, and replaced the empty-actions output branch with an assertion #4 #5.
- Ranier objected that assertions would not provide runtime protection and requested an explicit check of the actions pointer #6.
- Tom committed Kyotaro's latest patch #5 with moderate changes as e1339bfc7a: he retained assertions for SQL NULL values, added a runtime error for a decoded NIL action list, and extended the cleanup to make_viewdef(), explaining the distinction when announcing the commit #7.
- Kyotaro acknowledged the committed fix, leaving no outstanding work identified in the thread #8.