MobilityDB  1.0

◆ tnumber_sel_internal()

Selectivity tnumber_sel_internal ( PlannerInfo *  root,
VariableStatData *  vardata,
TBOX box,
CachedOp  cachedOp,
Oid  basetypid 
)

Returns an estimate of the selectivity of the temporal search box and the operator for columns of temporal numbers.

For the traditional comparison operators (<, <=, ...) we follow the approach for range types in PostgreSQL, this function computes the selectivity for <, <=, >, and >=, while the selectivity functions for = and <> are eqsel and neqsel, respectively.