]> granicus.if.org Git - postgresql/commit
Fix thinkos in LookupFuncName() for function name lookups
authorMichael Paquier <michael@paquier.xyz>
Tue, 25 Jun 2019 02:15:38 +0000 (11:15 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 25 Jun 2019 02:15:38 +0000 (11:15 +0900)
commit52cdbdc42c23e4f9ae1e62e95bd85d11c030d3f6
treebd4cb8f9fe1cf99b7141b4c23420f766b24a1351
parent2839bf3538e764c559f79d3cc8f57d5e7b580741
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/3d068be5-f617-a5ee-99f6-458a407bfd65@gmail.com
Backpatch-through: 10
src/backend/parser/parse_func.c