![]() |
MobilityDB 1.3
|
◆ Temporal_supportfn()
For functions that we want enhanced with spatial index lookups, add this support function to the SQL function definition, for example: CREATE OR REPLACE FUNCTION ever_eq(tfloat, float)
RETURNS boolean
AS 'MODULE_PATHNAME','ever_eq_temporal_base'
SUPPORT temporal_supportfn
LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;
The function must also have an entry above in the IndexableFunctions array so that we know what index search strategy we want to apply. |