aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/statistics/mcv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/backend/statistics/mcv.c b/src/backend/statistics/mcv.c
index 913a72ff673..e62421dfa88 100644
--- a/src/backend/statistics/mcv.c
+++ b/src/backend/statistics/mcv.c
@@ -1577,8 +1577,6 @@ mcv_get_match_bitmap(PlannerInfo *root, List *clauses,
if (ok)
{
- TypeCacheEntry *typecache;
- FmgrInfo gtproc;
Var *var;
Const *cst;
bool isgt;
@@ -1596,10 +1594,6 @@ mcv_get_match_bitmap(PlannerInfo *root, List *clauses,
/* match the attribute to a dimension of the statistic */
idx = bms_member_index(keys, var->varattno);
- /* get information about the >= procedure */
- typecache = lookup_type_cache(var->vartype, TYPECACHE_GT_OPR);
- fmgr_info(get_opcode(typecache->gt_opr), &gtproc);
-
/*
* Walk through the MCV items and evaluate the current clause.
* We can skip items that were already ruled out, and