-
- Downloads
Change the planner to allow indexscan qualification clauses to use
nonconsecutive columns of a multicolumn index, as per discussion around mid-May (pghackers thread "Best way to scan on-disk bitmaps"). This turns out to require only minimal changes in btree, and so far as I can see none at all in GiST. btcostestimate did need some work, but its original assumption that index selectivity == heap selectivity was quite bogus even before this.
Showing
- doc/src/sgml/catalogs.sgml 9 additions, 1 deletiondoc/src/sgml/catalogs.sgml
- doc/src/sgml/indexam.sgml 18 additions, 9 deletionsdoc/src/sgml/indexam.sgml
- src/backend/access/index/indexam.c 1 addition, 23 deletionssrc/backend/access/index/indexam.c
- src/backend/access/nbtree/nbtsearch.c 7 additions, 5 deletionssrc/backend/access/nbtree/nbtsearch.c
- src/backend/access/nbtree/nbtutils.c 10 additions, 7 deletionssrc/backend/access/nbtree/nbtutils.c
- src/backend/optimizer/path/indxpath.c 26 additions, 27 deletionssrc/backend/optimizer/path/indxpath.c
- src/backend/optimizer/util/plancat.c 3 additions, 2 deletionssrc/backend/optimizer/util/plancat.c
- src/backend/utils/adt/selfuncs.c 107 additions, 15 deletionssrc/backend/utils/adt/selfuncs.c
- src/include/access/genam.h 1 addition, 2 deletionssrc/include/access/genam.h
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_am.h 22 additions, 20 deletionssrc/include/catalog/pg_am.h
- src/include/nodes/relation.h 2 additions, 1 deletionsrc/include/nodes/relation.h
Loading
Please register or sign in to comment