postgresql/src/backend/access
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
..
common Refactor typenameTypeId() 2010-10-25 21:44:49 +03:00
gin Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
gist Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
hash Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
heap In rewriteheap.c (used by VACUUM FULL and CLUSTER), calculate the tuple 2010-11-09 17:48:14 +02:00
index Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
nbtree Create core infrastructure for KNNGIST. 2010-12-02 20:51:37 -05:00
transam Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00