OSDN Git Service

Improve the tests to see if ScalarArrayOpExpr is strict. Original coding
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Feb 2006 22:21:12 +0000 (22:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Feb 2006 22:21:12 +0000 (22:21 +0000)
commit72153c0582bf33a74ce3504d105d797aebbc1d48
tree39aef2a55302b8288167172ca3db1917d6bcee8c
parenta6fefc866c4bf484127e91260044449dc2ae1ae0
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.
src/backend/optimizer/util/clauses.c