postgresql/src/backend/optimizer/path
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
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
allpaths.c Improve relation width estimation for subqueries. 2010-11-19 17:31:50 -05:00
clausesel.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
costsize.c Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
equivclass.c Provide hashing support for arrays. 2010-10-30 21:56:11 -04:00
indxpath.c Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
joinpath.c Avoid creation of useless EquivalenceClasses during planning. 2010-10-29 11:52:50 -04:00
joinrels.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
orindxpath.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pathkeys.c Simplify and speed up mapping of index opfamilies to pathkeys. 2010-11-29 12:30:43 -05:00
tidpath.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00