diff --git a/lib/pg_strutil.c b/lib/pg_strutil.c index ea432ae..98094ee 100644 --- a/lib/pg_strutil.c +++ b/lib/pg_strutil.c @@ -565,6 +565,8 @@ ParseFunction(const char *value, bool argistype) { find = func_select_candidate(nargs, ret.argtypes, current_candidates); + if (find) + ncandidates = 1; } } else if (nargs > 0)