MobilityDB  1.0

◆ temporal_sel_internal()

Selectivity temporal_sel_internal ( PlannerInfo *  root,
VariableStatData *  vardata,
Period period,
CachedOp  cachedOp 
)

Returns an estimate of the selectivity of the search period and the operator for columns of temporal values.

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.