MobilityDB 1.1

◆ Temporal_cmp()

PGDLLEXPORT Datum Temporal_cmp ( PG_FUNCTION_ARGS  )

Return -1, 0, or 1 depending on whether the first temporal value is less than, equal, or greater than the second temporal value.

Note
Function used for B-tree comparison
SQL Function:
tbool_cmp(), tint_cmp(), tfloat_cmp(), ttext_cmp(), tgeompoint_cmp(), tgeogpoint_cmp(), tnpoint_cmp()