Finish reverting commit 0a52d378b. Apply the solution adopted in commit dcb7d3caf (ie, explicitly don't call memcmp for a zero-length comparison) to func_get_detail() as well, removing one other place where we were passing an uninitialized array to a parse_func.c entry point.
Discussion: https://postgr.es/m/mn2pr18mb2927f24692485d754794f01be3...@mn2pr18mb2927.namprd18.prod.outlook.com Discussion: https://postgr.es/m/mn2pr18mb2927f6873df2774a505ac298e3...@mn2pr18mb2927.namprd18.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/112caf9039f4c8fb286bb610461ced8253313e9f Modified Files -------------- src/backend/parser/parse_func.c | 7 +++---- src/backend/utils/adt/ruleutils.c | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-)
