Finish reverting commit 0a52d378b.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 112caf9039f4c8fb286bb610461ced8253313e9f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-11-12T21:58:08Z
Releases: 13.0
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

Files

PathChange+/−
src/backend/parser/parse_func.c modified +3 −4
src/backend/utils/adt/ruleutils.c modified +1 −2

Discussion