MobilityDB 1.1

◆ temporal_convert_same_subtype()

static void temporal_convert_same_subtype ( const Temporal temp1,
const Temporal temp2,
Temporal **  out1,
Temporal **  out2 
)
static

Convert two temporal values into a common subtype.

Parameters
[in]temp1,temp2Input values
[out]out1,out2Output values
Note
Each of the output values may be equal to the input values to avoid unnecessary calls to palloc. The calling function must test whether (tempx == outx) to determine if a pfree is needed.