]> granicus.if.org Git - postgresql/commit
Teach btree to handle ScalarArrayOpExpr quals natively.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Oct 2011 19:39:24 +0000 (15:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Oct 2011 19:39:24 +0000 (15:39 -0400)
commit9e8da0f75731aaa7605cf4656c21ea09e84d2eb1
tree1776d3f5e68d5ab997851fcfcc3cc684a64e2058
parent0898d71f66ed884af726556ac9ffc8081dddc757
Teach btree to handle ScalarArrayOpExpr quals natively.

This allows "indexedcol op ANY(ARRAY[...])" conditions to be used in plain
indexscans, and particularly in index-only scans.
13 files changed:
doc/src/sgml/catalogs.sgml
src/backend/access/nbtree/nbtree.c
src/backend/access/nbtree/nbtutils.c
src/backend/executor/nodeIndexscan.c
src/backend/optimizer/path/costsize.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/util/plancat.c
src/backend/utils/adt/selfuncs.c
src/include/access/nbtree.h
src/include/access/skey.h
src/include/catalog/catversion.h
src/include/catalog/pg_am.h
src/include/nodes/relation.h