MobilityDB 1.3
Loading...
Searching...
No Matches

◆ spanset_union_transfn()

SpanSet * spanset_union_transfn ( SpanSet state,
const SpanSet ss 
)

Transition function for span set aggregate union.

Parameters
[in,out]stateCurrent aggregate state
[in]ssSpan set to aggregate
Returns
When the state variable has space for adding the new span set, the function returns the current state variable. Otherwise, a NEW state variable is returned and the input state is freed.
Note
Always use the function to overwrite the existing state as in:
SpanSet * spanset_union_transfn(SpanSet *state, const SpanSet *ss)
Transition function for span set aggregate union.
Definition: span_aggfuncs_meos.c:258
Definition: pgtz.h:42