MobilityDB 1.1

◆ span_upper_cmp()

int span_upper_cmp ( const Span a,
const Span b 
)

Compare the upper bounds of two spans, returning <0, 0, or >0 according to whether the first bound is less than, equal to, or greater than the second one.

Note
The function is equivalent to span_bound_cmp but avoids deserializing the spans into lower and upper bounds