Switch order of tests to avoid possible Assert failure for
commit85808ddac919898c2677b43fcd989e16193f23cf
authortgl <tgl>
Tue, 9 Jun 2009 18:15:04 +0000 (9 18:15 +0000)
committertgl <tgl>
Tue, 9 Jun 2009 18:15:04 +0000 (9 18:15 +0000)
treea9307e2dd18a70239176376b21a7d39f95f76b72
parent7028c6abe1ef96e08496eab3c7a50f1d5f6ece36
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