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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ce5b24a) | patch
Create hooks to let a loadable plugin monitor (or even replace) the planner
2007年5月25日 17:54:25 +0000 (17:54 +0000)
2007年5月25日 17:54:25 +0000 (17:54 +0000)
commit 604ffd280b955100e5fc24649ee4d42a6f3ebf35
Create hooks to let a loadable plugin monitor (or even replace) the planner
and/or create plans for hypothetical situations; in particular, investigate
plans that would be generated using hypothetical indexes. This is a
heavily-rewritten version of the hooks proposed by Gurjeet Singh for his
Index Advisor project. In this formulation, the index advisor can be
entirely a loadable module instead of requiring a significant part to be
in the core backend, and plans can be generated for hypothetical indexes
without requiring the creation and rolling-back of system catalog entries.

The index advisor patch as-submitted is not compatible with these hooks,
but it needs significant work anyway due to other 8.2-to-8.3 planner
changes. With these hooks in the core backend, development of the advisor
can proceed as a pgfoundry project.
src/backend/commands/explain.c diff | blob | blame | history
src/backend/commands/prepare.c diff | blob | blame | history
src/backend/executor/nodeBitmapIndexscan.c diff | blob | blame | history
src/backend/executor/nodeIndexscan.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/optimizer/util/plancat.c diff | blob | blame | history
src/include/commands/explain.h diff | blob | blame | history
src/include/optimizer/plancat.h diff | blob | blame | history
src/include/optimizer/planner.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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