Thread: pgsql: Improve the tests to see if ScalarArrayOpExpr is strict.

pgsql: Improve the tests to see if ScalarArrayOpExpr is strict.

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Improve the tests to see if ScalarArrayOpExpr is strict.  Original coding
would basically punt in all cases for 'foo <> ALL (array)', which resulted
in a performance regression for NOT IN compared to what we were doing in
8.1 and before.  Per report from Pavel Stehule.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.207 -> r1.208)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.207&r2=1.208)