model-writtenrun 9006 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela proposed initializing the dummy fargtypes array used when creating event triggers, presenting it as an uninitialized-variable fix #1.
- Tom Lane explained that the array contents were never accessed, rejected the two-element initializer for a one-element array, and suggested handling zero arguments inside LookupFuncName instead of requiring dummy pointers #2.
- Kyotaro Horiguchi supplied a replacement that allowed NULL argument types by routing zero-argument lookups through the existing unique-candidate branch #3.
- Alvaro Herrera posted an independently drafted alternative that also removed dummy arguments from callers, and separately suggested allowing NULL parameterTypes in ProcedureCreate #4.
- Tom objected that the proposed nargs <= 0 condition conflated unspecified arguments with zero arguments, and supplied an explicit zero-argument guard around memcmp instead #5.
- Alvaro committed the caller cleanup from #4, added the foreign-data-wrapper handler caller, and adopted Tom's guard in dcb7d3cafa; he confirmed that candidate selection already checks argument counts #6.
- Tom then extended the same treatment to func_get_detail() and removed another dummy array in ruleutils.c through 112caf9039, announcing that this completed the missed cleanup #7.
- Kyotaro acknowledged the reasoning and thanked the committers in the final message #8; both NULL-handling changes had landed, while the separate ProcedureCreate suggestion in #4 was absent from both commits and received no further resolution here.