Dept of second thoughts: let's make sure that get_index_stats_hook is only
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Sep 2008 20:42:12 +0000 (20:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Sep 2008 20:42:12 +0000 (20:42 +0000)
commit139a15db858015698d4e5b4929c3d042d3669544
tree462e848d25483199550983726dae7bdb489e40bd
parent7a4d83e639f5452490afb513132f8e2375a1cab5
Dept of second thoughts: let's make sure that get_index_stats_hook is only
applied to expression indexes, not to plain relations.  The original coding
in btcostestimate conflated the two cases, but it's not hard to use
get_relation_stats_hook instead when we're looking to the underlying relation.
src/backend/utils/adt/selfuncs.c