Fix thinkos in LookupFuncName() for function name lookups This could trigger valgrind failures when doing ambiguous function name lookups when no arguments are provided by the caller. The problem has been introduced in aefeb68, so backpatch to v10. HEAD is fine thanks to the refactoring done in bfb456c1.
Reported-by: Alexander Lakhin Author: Alexander Lakhin, Michael Paquier Discussion: https://postgr.es/m/[email protected] Backpatch-through: 10 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/131e545ac304a3f5c4f8575131f4b338232cac0d Modified Files -------------- src/backend/parser/parse_func.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
