CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@svr1.postgresql.org 03/06/28 21:33:45
Modified files:
doc/src/sgml : func.sgml
src/backend/catalog: dependency.c
src/backend/executor: execQual.c
src/backend/nodes: copyfuncs.c equalfuncs.c nodeFuncs.c
outfuncs.c readfuncs.c
src/backend/optimizer/path: clausesel.c costsize.c
src/backend/optimizer/plan: setrefs.c
src/backend/optimizer/util: clauses.c
src/backend/parser: gram.y parse_expr.c parse_oper.c
src/backend/utils/adt: ruleutils.c
src/backend/utils/fmgr: fmgr.c
src/include/catalog: catversion.h
src/include/nodes: execnodes.h nodeFuncs.h nodes.h parsenodes.h
primnodes.h
src/include/optimizer: planmain.h
src/include/parser: parse_oper.h
src/pl/plpgsql/src: pl_exec.c
src/test/regress/expected: arrays.out
src/test/regress/sql: arrays.sql
Log message:
Support expressions of the form 'scalar op ANY (array)' and
'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.