postgresql/src/include/optimizer
Tom Lane d583f10b7e Create core infrastructure for KNNGIST.
This is a heavily revised version of builtin_knngist_core-0.9.  The
ordering operators are no longer mixed in with actual quals, which would
have confused not only humans but significant parts of the planner.
Instead, ordering operators are carried separately throughout planning and
execution.

Since the API for ambeginscan and amrescan functions had to be changed
anyway, this commit takes the opportunity to rationalize that a bit.
RelationGetIndexScan no longer forces a premature index_rescan call;
instead, callers of index_beginscan must call index_rescan too.  Aside from
making the AM-side initialization logic a bit less peculiar, this has the
advantage that we do not make a useless extra am_rescan call when there are
runtime key values.  AMs formerly could not assume that the key values
passed to amrescan were actually valid; now they can.

Teodor Sigaev and Tom Lane
2010-12-02 20:51:37 -05:00
..
clauses.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
cost.h Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
geqo.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_copy.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_gene.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_misc.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_mutation.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_pool.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_random.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_recombination.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
geqo_selection.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
joininfo.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pathnode.h Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
paths.h Reimplement planner's handling of MIN/MAX aggregate optimization. 2010-11-04 12:01:17 -04:00
placeholder.h Fix PlaceHolderVar mechanism's interaction with outer joins. 2010-09-28 14:19:00 -04:00
plancat.h Improve relation width estimation for subqueries. 2010-11-19 17:31:50 -05:00
planmain.h Reimplement planner's handling of MIN/MAX aggregate optimization. 2010-11-04 12:01:17 -04:00
planner.h Teach CLUSTER to use seqscan-and-sort when it's faster than indexscan. 2010-10-07 20:00:28 -04:00
predtest.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
prep.h Use appendrel planning logic for top-level UNION ALL structures. 2010-11-08 15:15:02 -05:00
restrictinfo.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
subselect.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
tlist.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
var.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00