MobilityDB  1.0
Functions
temporal_parser.h File Reference

Functions for parsing temporal types. More...

#include <postgres.h>
#include <catalog/pg_type.h>
#include "timetypes.h"
#include "temporal.h"
Include dependency graph for temporal_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ensure_end_input (char **str, bool end)
 Ensure there is no more input excepted white spaces. More...
 
void p_whitespace (char **str)
 Input a white space from the buffer. More...
 
bool p_obrace (char **str)
 Input an opening brace from the buffer. More...
 
bool p_cbrace (char **str)
 Input a closing brace from the buffer. More...
 
bool p_obracket (char **str)
 Input an opening bracket from the buffer. More...
 
bool p_cbracket (char **str)
 Input a closing bracket from the buffer. More...
 
bool p_oparen (char **str)
 Input an opening parenthesis from the buffer. More...
 
bool p_cparen (char **str)
 Input a closing parenthesis from the buffer. More...
 
bool p_comma (char **str)
 Input a comma from the buffer. More...
 
TBOXtbox_parse (char **str)
 Parse a temporal box value from the buffer. More...
 
Datum basetype_parse (char **str, Oid basetype)
 Parse a base value from the buffer. More...
 
double double_parse (char **str)
 Input a double from the buffer. More...
 
TimestampTz timestamp_parse (char **str)
 Parse a timestamp value from the buffer. More...
 
TimestampSettimestampset_parse (char **str)
 Parse a timestamp set value from the buffer. More...
 
Periodperiod_parse (char **str, bool make)
 Parse a period value from the buffer. More...
 
PeriodSetperiodset_parse (char **str)
 Parse a period set value from the buffer. More...
 
TInstanttinstant_parse (char **str, Oid basetype, bool end, bool make)
 Parse a temporal instant value from the buffer. More...
 
Temporaltemporal_parse (char **str, Oid basetype)
 Parse a temporal value from the buffer (dispatch function) More...
 

Detailed Description

Functions for parsing temporal types.