Add missing optimizer hooks for function cost and number of rows.
Simon Riggs <simon@2ndQuadrant.com>
Add missing optimizer hooks for function cost and number of rows. Closely follow design of other optimizer hooks: if hook exists retrieve value from plugin; if still not set then get from cache.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/cache/lsyscache.c | modified | +16 −1 |
| src/include/utils/lsyscache.h | modified | +7 −1 |