MobilityDB 1.1
Macros | Functions
tpoint.c File Reference
#include "point/tpoint.h"
#include <limits.h>
#include <utils/timestamp.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/temporaltypes.h"
#include "point/tpoint_parser.h"
#include "point/tpoint_boxops.h"
#include "point/tpoint_spatialfuncs.h"
#include "pg_general/meos_catalog.h"
#include "pg_general/temporal.h"
#include "pg_point/postgis.h"
Include dependency graph for tpoint.c:

Macros

#define PGC_ERRMSG_MAXLEN   2048
 

Functions

PGDLLEXPORT Datum Geo_expand_space (PG_FUNCTION_ARGS)
 Return the bounding box of a temporal point expanded on the spatial dimension. More...
 
int32 pg_atoi (const char *s, int size, int c)
 General functions for temporal points. More...
 
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...
 
static Datum tcomp_geo_tpoint_ext (FunctionCallInfo fcinfo, Datum(*func)(Datum, Datum, meosType, meosType))
 Return the temporal comparison of a point and a temporal point. More...
 
static Datum tcomp_tpoint_point_ext (FunctionCallInfo fcinfo, Datum(*func)(Datum, Datum, meosType, meosType))
 Return the temporal comparison of a temporal point and a point. More...
 
void temporalgeom_init ()
 Set the handlers for initializing the liblwgeom library. More...
 
PGDLLEXPORT Datum Teq_geo_tpoint (PG_FUNCTION_ARGS)
 Return the temporal equality of a point and a temporal point. More...
 
PGDLLEXPORT Datum Teq_tpoint_geo (PG_FUNCTION_ARGS)
 Return the temporal equality of the temporal point and a point. More...
 
PGDLLEXPORT Datum Tgeogpoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geographic points. More...
 
PGDLLEXPORT Datum Tgeompoint_typmod_in (PG_FUNCTION_ARGS)
 Input typmod information for temporal geometric points. More...
 
PGDLLEXPORT Datum Tne_geo_tpoint (PG_FUNCTION_ARGS)
 Return the temporal inequality of a point and a temporal point. More...
 
PGDLLEXPORT Datum Tne_tpoint_geo (PG_FUNCTION_ARGS)
 Return the temporal inequality of the temporal point and a point. 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 Tpoint_expand_space (PG_FUNCTION_ARGS)
 Return the bounding box of a temporal point expanded on the spatial dimension. More...
 
PGDLLEXPORT Datum Tpoint_in (PG_FUNCTION_ARGS)
 Generic input function for temporal points. More...
 
PGDLLEXPORT Datum Tpoint_to_stbox (PG_FUNCTION_ARGS)
 Return the bounding box of a temporal point. More...
 
PGDLLEXPORT Datum Tpoint_traversed_values (PG_FUNCTION_ARGS)
 Return the base values (that is, the trajectory) of a temporal point value as a geometry/geography. More...
 
static uint32 tpoint_typmod_in (ArrayType *arr, int is_geography)
 Input typmod information for temporal points. More...
 
PGDLLEXPORT Datum Tpoint_typmod_out (PG_FUNCTION_ARGS)
 Output typmod information for temporal points. 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 Tpointinst_constructor (PG_FUNCTION_ARGS)
 Construct a temporal instant point value from the arguments. More...