Create the initial state that persists across multiple calls of the function.
- Parameters
-
[in] | tunits | Size of the time buckets in PostgreSQL time units |
[in] | buckets | Initial timestamps of the buckets |
[in] | fragments | Fragments of the input temporal value |
[in] | count | Number of elements in the input arrays |
- Precondition
- count is greater than 0