model-writtenrun 9009 - 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 argument-type array in CreateEventTrigger(), but his initial patch supplied two InvalidOid values for a one-element array #1.
- Michael Paquier supported initialization #2, and Kyotaro Horiguchi identified the excess initializer and five additional zero-argument LookupFuncName call sites with similar arrays #3.
- Michael Paquier requested a broader patch and favored assigning InvalidOid directly over using memset for a single element #4.
- Ranier Vilela corrected the initializer to one element while retaining the event-trigger-only scope; this was the thread's final message, with the broader cleanup still unaddressed in its attachments #5.
- The broader solution developed in thread #69572 subsequently landed as dcb7d3cafa, allowing NULL argument arrays for zero-argument LookupFuncName calls and replacing dummy-array arguments across callers.
- Tom Lane then extended that solution to func_get_detail() and removed the dummy array in ruleutils.c through 112caf9039, a follow-up attributed to the discussion in thread #69572.