Hermes
 All Data Structures Files Functions Variables Macros Pages
Definition.h File Reference
#include <postgres.h>
#include <fmgr.h>
#include <utils/timestamp.h>
Include dependency graph for Definition.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  RangeT
 

Functions

RangeTcloneRangeT (const RangeT *range, RangeT *result)
 
PGDLLEXPORT Datum cloneRangeTV1 (PG_FUNCTION_ARGS)
 
RangeTconstructorRangeT (const Interval *r, Timestamp c, RangeT *result, char **error)
 
PGDLLEXPORT Datum constructorRangeTV1 (PG_FUNCTION_ARGS)
 
RangeTinRangeT (const char *str, RangeT *result, char **error)
 
PGDLLEXPORT Datum inRangeTV1 (PG_FUNCTION_ARGS)
 
char * outRangeT (const RangeT *range)
 
PGDLLEXPORT Datum outRangeTV1 (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum recvRangeT (PG_FUNCTION_ARGS)
 
bytea * RangeT2Bytea (const RangeT *range)
 
PGDLLEXPORT Datum sendRangeT (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum hashRangeT (PG_FUNCTION_ARGS)
 
bool equalsRangeT (const RangeT *rangeA, const RangeT *rangeB)
 
PGDLLEXPORT Datum equalsRangeTV1 (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum getRRangeT (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum getCRangeT (PG_FUNCTION_ARGS)
 

Function Documentation

RangeT* cloneRangeT ( const RangeT range,
RangeT result 
)

Referenced by cloneRangeTV1().

PGDLLEXPORT Datum cloneRangeTV1 ( PG_FUNCTION_ARGS  )

References cloneRangeT().

Here is the call graph for this function:

RangeT* constructorRangeT ( const Interval *  r,
Timestamp  c,
RangeT result,
char **  error 
)

References RangeT::c, interval2seconds(), and RangeT::r.

Referenced by constructorRangeTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum constructorRangeTV1 ( PG_FUNCTION_ARGS  )

References constructorRangeT().

Here is the call graph for this function:

bool equalsRangeT ( const RangeT rangeA,
const RangeT rangeB 
)

References RangeT::c, and RangeT::r.

Referenced by equalsRangeTV1().

PGDLLEXPORT Datum equalsRangeTV1 ( PG_FUNCTION_ARGS  )

References equalsRangeT().

Here is the call graph for this function:

PGDLLEXPORT Datum getCRangeT ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getRRangeT ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashRangeT ( PG_FUNCTION_ARGS  )

References RangeT2Bytea().

Here is the call graph for this function:

RangeT* inRangeT ( const char *  str,
RangeT result,
char **  error 
)

References asprintfHermes(), RangeT::c, interval2seconds(), and RangeT::r.

Referenced by inRangeTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inRangeTV1 ( PG_FUNCTION_ARGS  )

References inRangeT().

Here is the call graph for this function:

char* outRangeT ( const RangeT range)

References asprintfHermes(), RangeT::c, and RangeT::r.

Referenced by outRangeTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outRangeTV1 ( PG_FUNCTION_ARGS  )

References outRangeT().

Here is the call graph for this function:

bytea* RangeT2Bytea ( const RangeT range)
PGDLLEXPORT Datum recvRangeT ( PG_FUNCTION_ARGS  )

References RangeT::c, getmsgTimeOffsetHermes, getmsgTimestampHermes, interval2seconds(), and RangeT::r.

Here is the call graph for this function:

PGDLLEXPORT Datum sendRangeT ( PG_FUNCTION_ARGS  )

References RangeT2Bytea().

Here is the call graph for this function: