postgresql/src/include/optimizer
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
..
clauses.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
cost.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
geqo.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
geqo_copy.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_gene.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_misc.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_mutation.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_pool.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_random.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_recombination.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
geqo_selection.h Tag appropriate files for rc3 2004-12-31 22:04:05 +00:00
joininfo.h Simplify the planner's join clause management by storing join clauses 2005-06-09 04:19:00 +00:00
pathnode.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
paths.h Teach planner and executor to handle ScalarArrayOpExpr as an indexable 2005-11-25 19:47:50 +00:00
plancat.h Simple constraint exclusion. For now, only child tables of inheritance 2005-07-23 21:05:48 +00:00
planmain.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
planner.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
predtest.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
prep.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
restrictinfo.h Restore the former RestrictInfo field valid_everywhere (but invert the flag 2005-11-14 23:54:23 +00:00
subselect.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
tlist.h Merge Resdom nodes into TargetEntry nodes to simplify code and save a 2005-04-06 16:34:07 +00:00
var.h Remove planner's private fields from Query struct, and put them into 2005-06-05 22:32:58 +00:00