• Tom Lane's avatar
    Support expressions of the form 'scalar op ANY (array)' and · bee21792
    Tom Lane authored
    'scalar op ALL (array)', where the operator is applied between the
    lefthand scalar and each element of the array.  The operator must
    yield boolean; the result of the construct is the OR or AND of the
    per-element results, respectively.
    
    Original coding by Joe Conway, after an idea of Peter's.  Rewritten
    by Tom to keep the implementation strictly separate from subqueries.
    bee21792
setrefs.c 23.5 KB