Nov 2019

2 commits
Finish reverting commit 0a52d378b.
12 Nov 2019Tom Lanemaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1Also in: [BUG FIX] Uninitialized var fargtypes used. (not this thread)
LLM analysis, 94% surewritten from the discussion, no matching patch

The commit extends the explicit zero-argument guard discussed in #5 to func_get_detail() and removes ruleutils.c's dummy array; Tom announces precisely this follow-up in #7, without an attached patch. Although thread #41510 also has patchsets, its latest listed submission predates this thread's revised solution and provides no evidence of this additional cleanup.

Have LookupFuncName accept NULL argtypes for 0 args
12 Nov 2019Alvaro Herreramaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1Also in: [BUG FIX] Uninitialized var fargtypes used. (not this thread)
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #41 of 1 reviewer saw the final version

The commit retains #4's caller changes, adds foreigncmds.c, and replaces its nargs <= 0 shortcut with Tom's explicit memcmp guard from #5. The matching attachment in #4 is newer than both listed patchsets in thread #41510, and Alvaro confirms applying the revised approach in #6.

  • Tom Lanesaw the final versionLLM analysis, 94% sureTom identified the incorrect conflation of negative and zero argument counts and supplied the exact replacement guard adopted in the commit #5 #6.

Credits across 2 commits

Author
Alvaro HerreraLLM1
Reported by
Ranier Vilela1
Committer
Alvaro Herrera1
Tom Lane1

N LLM means N of the credits come from LLM analysis, not from commit trailers.