MobilityDB 1.1
|
◆ INPUT_AGG_COMB_STATE
Value:
do { \
MemoryContext ctx = set_aggregation_context(fcinfo); \
state1 = PG_ARGISNULL(0) ? NULL : (SkipList *) PG_GETARG_POINTER(0); \
state2 = PG_ARGISNULL(1) ? NULL : (SkipList *) PG_GETARG_POINTER(1); \
if (state1 == NULL && state2 == NULL) \
PG_RETURN_NULL(); \
unset_aggregation_context(ctx); \
} while (0)
MemoryContext set_aggregation_context(FunctionCallInfo fcinfo) Functions manipulating skiplists. Definition: skiplist.c:65 Structure to represent skiplists that keep the current state of an aggregation. Definition: meos.h:240 |