Finish reverting commit 0a52d378b.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Nov 2019 21:58:00 +0000 (16:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Nov 2019 21:58:08 +0000 (16:58 -0500)
commit112caf9039f4c8fb286bb610461ced8253313e9f
treedcc753fae6352024b7ef25c997d5ae97acf09425
parentc5e8ea978d88ea4aa731516836e14d54c50cc957
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/MN2PR18MB2927F24692485D754794F01BE3740@MN2PR18MB2927.namprd18.prod.outlook.com
Discussion: https://postgr.es/m/MN2PR18MB2927F6873DF2774A505AC298E3740@MN2PR18MB2927.namprd18.prod.outlook.com
src/backend/parser/parse_func.c
src/backend/utils/adt/ruleutils.c