|
◆ value_union_transfn()
Transition function for set union aggregate of values.
- Parameters
-
[in,out] | state | Current aggregate state |
[in] | value | Value |
[in] | basetype | Type of the value |
- Returns
- When the state variable has space for adding the new value, 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:
Set * value_union_transfn(Set *state, Datum value, meosType basetype) Transition function for set union aggregate of values. Definition: set_aggfuncs_meos.c:206
|