![]() |
MobilityDB 1.3
|
◆ INPUT_AGG_TRANS_STATE
Value:
do { \
MemoryContext ctx = set_aggregation_context(fcinfo); \
if (PG_ARGISNULL(1)) \
{ \
if (state) \
PG_RETURN_POINTER(state); \
else \
PG_RETURN_NULL(); \
} \
unset_aggregation_context(ctx); \
} while (0)
MemoryContext set_aggregation_context(FunctionCallInfo fcinfo) Switch to the memory context for aggregation. Definition: skiplist.c:55 Structure to represent skiplists that keep the current state of an aggregation. Definition: meos.h:272 Definition: pgtz.h:42 Helper macros to input the current aggregate state. |