pgsql: Switch order of tests to avoid possible Assert failure for - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Switch order of tests to avoid possible Assert failure for
Date
Msg-id 20090609181505.105FF75331E@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: aglio@pgfoundry.org (User Aglio)
Date:
Subject: press - pr: Added link to pg-migrator per Devrim.
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: [#1010649] DataReader.FieldCount returning -1.