git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f5050f7) | patch
Add amgettreeheight index AM API routine
2024年9月10日 07:51:55 +0000 (09:51 +0200)
2024年9月10日 08:03:23 +0000 (10:03 +0200)
commit 56fead44dcc70df9f9188fee08e5aefe3da43ccc
Add amgettreeheight index AM API routine

The only current implementation is for btree where it calls
_bt_getrootheight(). Other index types can now also use this to pass
information to their amcostestimate routine. Previously, btree was
hardcoded and other index types could not hook into the optimizer at
this point.

Author: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
12 files changed:
contrib/bloom/blutils.c diff | blob | blame | history
doc/src/sgml/indexam.sgml diff | blob | blame | history
src/backend/access/brin/brin.c diff | blob | blame | history
src/backend/access/gin/ginutil.c diff | blob | blame | history
src/backend/access/gist/gist.c diff | blob | blame | history
src/backend/access/hash/hash.c diff | blob | blame | history
src/backend/access/nbtree/nbtree.c diff | blob | blame | history
src/backend/access/spgist/spgutils.c diff | blob | blame | history
src/backend/optimizer/util/plancat.c diff | blob | blame | history
src/include/access/amapi.h diff | blob | blame | history
src/include/access/nbtree.h diff | blob | blame | history
src/test/modules/dummy_index_am/dummy_index_am.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /