Switch order of tests to avoid possible Assert failure for
Tom Lane <tgl@sss.pgh.pa.us>
Switch order of tests to avoid possible Assert failure for "array_agg_finalfn(null)". We should modify pg_proc entries to prevent this query from being accepted, but let's just make the function itself secure too. Per my note of today.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/array_userfuncs.c | modified | +9 −4 |