OSDN Git Service

Add missing optimizer hooks for function cost and number of rows.
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 23 Apr 2010 22:23:39 +0000 (22:23 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 23 Apr 2010 22:23:39 +0000 (22:23 +0000)
commit473af3973710b9e2f4e945d8290adae8de9696cc
tree90fcd98789af3364f33256cfaef2fa9bb7581644
parent491d1ea5b3605809ec1103e939b3324acc9a2516
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.
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h