Open
Description
Hi *!
SELECT * FROM customer c WHERE c.country IS NOT NULL
SELECT * FROM customer c WHERE c.country IS DISTINCT FROM NULL
both PLAN is NATURAL.
for every data type there is an equivalent expression that uses index.
varchar : field >= ''
numeric : (field >=0 OR field < 0); or field>= "possible minimum value"
date/time : like numeric
boolean : field IN (TRUE, FALSE)