MobilityDB 1.1

◆ tsequence_append_tinstant()

Temporal * tsequence_append_tinstant ( TSequence seq,
const TInstant inst,
bool  expand 
)

Append an instant to a temporal sequence.

Parameters
[in,out]seqTemporal sequence
[in]instTemporal instant
[in]expandTrue when reserving space for additional instants
SQL Function:
appendInstant()
Note
It is the responsibility of the calling function to free the memory, that is, delete the old value of seq when it is expanded or when the result is a sequence set.