MobilityDB  1.0
Macros | Functions
tpoint.c File Reference

Basic functions for temporal points. More...

#include "point/tpoint.h"
#include <utils/builtins.h>
#include <utils/timestamp.h>
#include "general/temporaltypes.h"
#include "general/tempcache.h"
#include "general/temporal_util.h"
#include "general/lifting.h"
#include "general/temporal_compops.h"
#include "point/stbox.h"
#include "point/tpoint_parser.h"
#include "point/tpoint_boxops.h"
#include "point/tpoint_spatialfuncs.h"
Include dependency graph for tpoint.c:

Macros

#define PGC_ERRMSG_MAXLEN   2048
 

Functions

static void pg_error (const char *fmt, va_list ap)
 Output an error message. More...
 
static void pg_notice (const char *fmt, va_list ap)
 Output a notice message. More...
 
void temporalgeom_init ()
 Set the handlers for initializing the liblwgeom library. More...
 
GSERIALIZED * gserialized_copy (const GSERIALIZED *g)
 Copy a GSERIALIZED. More...
 
static Temporaltpoint_valid_typmod (Temporal *temp, int32_t typmod)
 Check the consistency of the metadata we want to enforce in the typmod: SRID, type and dimensionality. More...
 
PGDLLEXPORT Datum tpoint_in (PG_FUNCTION_ARGS)
 Generic input function for temporal points. More...
 
static uint32 tpoint_typmod_in (ArrayType *arr, int is_geography)
 Input typmod information for temporal points. More...
 
PGDLLEXPORT Datum tgeompoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geometric points. More...
 
PGDLLEXPORT Datum tgeogpoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geographic points. More...
 
PGDLLEXPORT Datum tpoint_typmod_out (PG_FUNCTION_ARGS)
 Output typmod information for temporal points. More...
 
PGDLLEXPORT Datum tpoint_enforce_typmod (PG_FUNCTION_ARGS)
 Enforce typmod information for temporal points with respect to temporal type, dimensions, and SRID. More...
 
PGDLLEXPORT Datum tpointinst_constructor (PG_FUNCTION_ARGS)
 Construct a temporal instant point value from the arguments. More...
 
PGDLLEXPORT Datum tpoint_to_stbox (PG_FUNCTION_ARGS)
 Returns the bounding box of the temporal point value. More...
 
Datum tcomp_geo_tpoint (FunctionCallInfo fcinfo, Datum(*func)(Datum, Datum, Oid, Oid))
 Returns the temporal comparison of the base value and temporal value. More...
 
Datum tcomp_tpoint_geo (FunctionCallInfo fcinfo, Datum(*func)(Datum, Datum, Oid, Oid))
 Returns the temporal comparison of the temporal value and the base value. More...
 
PGDLLEXPORT Datum teq_geo_tpoint (PG_FUNCTION_ARGS)
 Returns the temporal equality of the base value and the temporal value. More...
 
PGDLLEXPORT Datum teq_tpoint_geo (PG_FUNCTION_ARGS)
 Returns the temporal equality of the temporal value and base value. More...
 
PGDLLEXPORT Datum tne_geo_tpoint (PG_FUNCTION_ARGS)
 Returns the temporal difference of the base value and the temporal value. More...
 
PGDLLEXPORT Datum tne_tpoint_geo (PG_FUNCTION_ARGS)
 Returns the temporal difference of the temporal value and base value. More...
 
PGDLLEXPORT Datum tpoint_values (PG_FUNCTION_ARGS)
 Returns the base values (that is, the trajectory) of the temporal point value as a geometry/geography. More...
 

Detailed Description

Basic functions for temporal points.