MobilityDB 1.1
|
◆ temporal_supportfn_ext()
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','temporal_ever_eq'
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. |