Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    bee21792
    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
    History
    Support expressions of the form 'scalar op ANY (array)' and
    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.