-
- Downloads
Add a GetForeignUpperPaths callback function for FDWs.
This is basically like the just-added create_upper_paths_hook, but control is funneled only to the FDW responsible for all the baserels of the current query; so providing such a callback is much less likely to add useless overhead than using the hook function is. The documentation is a bit sketchy. We'll likely want to improve it, and/or adjust the call conventions, when we get some experience with actually using this callback. Hopefully somebody will find time to experiment with it before 9.6 feature freeze.
Showing
- doc/src/sgml/fdwhandler.sgml 40 additions, 3 deletionsdoc/src/sgml/fdwhandler.sgml
- src/backend/optimizer/README 4 additions, 1 deletionsrc/backend/optimizer/README
- src/backend/optimizer/plan/planner.c 10 additions, 6 deletionssrc/backend/optimizer/plan/planner.c
- src/backend/optimizer/util/pathnode.c 7 additions, 7 deletionssrc/backend/optimizer/util/pathnode.c
- src/include/foreign/fdwapi.h 6 additions, 0 deletionssrc/include/foreign/fdwapi.h
Loading
Please register or sign in to comment