diff options
Diffstat (limited to 'contrib/bloom/blcost.c')
-rw-r--r-- | contrib/bloom/blcost.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/bloom/blcost.c b/contrib/bloom/blcost.c index 2d8a7f1d263..f9fe57fb845 100644 --- a/contrib/bloom/blcost.c +++ b/contrib/bloom/blcost.c @@ -27,19 +27,15 @@ blcostestimate(PlannerInfo *root, IndexPath *path, double loop_count, double *indexPages) { IndexOptInfo *index = path->indexinfo; - List *qinfos; GenericCosts costs; - /* Do preliminary analysis of indexquals */ - qinfos = deconstruct_indexquals(path); - MemSet(&costs, 0, sizeof(costs)); /* We have to visit all index tuples anyway */ costs.numIndexTuples = index->tuples; /* Use generic estimate */ - genericcostestimate(root, path, loop_count, qinfos, &costs); + genericcostestimate(root, path, loop_count, &costs); *indexStartupCost = costs.indexStartupCost; *indexTotalCost = costs.indexTotalCost; |