Construct a temporal instant from the arguments.
The memory structure of a temporal instant is as follows
----------------
----------------
Structure to represent temporal values of instant subtype.
Definition: meos.h:148
where the attribute value
of type Datum
in the struct stores the base value independently of whether it is passed by value or by reference. For values passed by reference, the additional bytes needed are appended at the end of the struct upon creation.
- Parameters
-
value | Base value |
t | Timestamp |
temptype | Base type |
- SQL Function:
- tbool_inst(), tint_inst(), tfloat_inst(), ttext_inst(), etc.