postgresql/src/backend
Tom Lane 290166f934 Teach planner and executor to handle ScalarArrayOpExpr as an indexable
qualification when the underlying operator is indexable and useOr is true.
That is, indexkey op ANY (ARRAY[...]) is effectively translated into an
OR combination of one indexscan for each array element.  This only works
for bitmap index scans, of course, since regular indexscans no longer
support OR'ing of scans.  There are still some loose ends to clean up
before changing 'x IN (list)' to translate as a ScalarArrayOpExpr;
for instance predtest.c ought to be taught about it.  But this gets the
basic functionality in place.
2005-11-25 19:47:50 +00:00
..
access Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
bootstrap Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
catalog Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
commands Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
executor Teach planner and executor to handle ScalarArrayOpExpr as an indexable 2005-11-25 19:47:50 +00:00
lib Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
libpq Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
main Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
nodes Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
optimizer Teach planner and executor to handle ScalarArrayOpExpr as an indexable 2005-11-25 19:47:50 +00:00
parser Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
po Translation typo fix 2005-11-14 22:08:14 +00:00
port Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
postmaster Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
rewrite Fix problems with rewriter failing to set Query.hasSubLinks when inserting 2005-11-23 17:21:04 +00:00
storage Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
tcop Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
utils Teach planner and executor to handle ScalarArrayOpExpr as an indexable 2005-11-25 19:47:50 +00:00
Makefile Add an ifneq to avoid make warning on AIX --- there is a separate rule 2005-10-27 20:45:29 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00