MobilityDB  1.0

◆ calc_hist_selectivity()

static double calc_hist_selectivity ( TypeCacheEntry *  typcache,
VariableStatData *  vardata,
RangeType *  constval,
Oid  operator 
)
static

Calculate range operator selectivity using histograms of range bounds.

This estimate is for the portion of values that are not empty and not NULL.

Note
Function copied from rangetypes_selfuncs.c since it is not exported.