Switch order of tests to avoid possible Assert failure for
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Jun 2009 18:15:04 +0000 (18:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 9 Jun 2009 18:15:04 +0000 (18:15 +0000)
commit6c3356a644a16c144d8b557ffaf667798367581f
treedb33cdb18301f8fc4a8151251b553e6ac6fa0a81
parent98884903e880edea160b996e2499ec73159339e1
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.
src/backend/utils/adt/array_userfuncs.c