pgsql: Switch order of tests to avoid possible Assert failure for

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Switch order of tests to avoid possible Assert failure for
Date: 2009-06-09 18:15:05
Message-ID: 20090609181505.105FF75331E@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
array_userfuncs.c (r1.28 -> r1.29)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/array_userfuncs.c?r1=1.28&r2=1.29)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2009-06-09 18:22:02 npgsql - Npgsql2: [#1010649] DataReader.FieldCount returning -1.
Previous Message User Aglio 2009-06-09 17:46:17 press - pr: Added link to pg-migrator per Devrim.