Add missing optimizer hooks for function cost and number of rows.

Simon Riggs <simon@2ndQuadrant.com>

Commit: 473af3973710b9e2f4e945d8290adae8de9696cc
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2010-04-23T22:23:39Z
Releases: 9.0.0
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

PathChange+/−
src/backend/utils/cache/lsyscache.c modified +16 −1
src/include/utils/lsyscache.h modified +7 −1