OSDN Git Service

Teach the planner to support index access methods that only implement
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Mar 2009 23:06:45 +0000 (23:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 5 Mar 2009 23:06:45 +0000 (23:06 +0000)
commit00ce73778baa496f979b0dce91b0dbb5adf0cd8d
treea35b7b870c9b00cbaf9ec333f3173bd193336504
parentdf8684c56fbe57a778f1c1fc42a26ad8a1071e4f
Teach the planner to support index access methods that only implement
amgettuple or only implement amgetbitmap, instead of the former assumption
that every AM supports both APIs.  Extracted with minor editorialization
from Teodor's fast-GIN-insert patch; whatever becomes of that, this seems
like a simple and reasonable generalization of the index AM interface spec.
doc/src/sgml/catalogs.sgml
doc/src/sgml/indexam.sgml
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/util/plancat.c
src/include/catalog/pg_am.h
src/include/nodes/relation.h