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  Period
 

Functions

PeriodclonePeriod (const Period *period, Period *result)
 
PGDLLEXPORT Datum clonePeriodV1 (PG_FUNCTION_ARGS)
 
PeriodconstructorPeriod (Timestamp i, Timestamp e, Period *result, char **error)
 
PGDLLEXPORT Datum constructorPeriodV1 (PG_FUNCTION_ARGS)
 
PeriodinPeriod (const char *str, Period *result, char **error)
 
PGDLLEXPORT Datum inPeriodV1 (PG_FUNCTION_ARGS)
 
char * outPeriod (const Period *period)
 
PGDLLEXPORT Datum outPeriodV1 (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum recvPeriod (PG_FUNCTION_ARGS)
 
bytea * Period2Bytea (const Period *period)
 
PGDLLEXPORT Datum sendPeriod (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum hashPeriod (PG_FUNCTION_ARGS)
 
bool equalsPeriod (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum equalsPeriodV1 (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum getIPeriod (PG_FUNCTION_ARGS)
 
PGDLLEXPORT Datum getEPeriod (PG_FUNCTION_ARGS)
 

Function Documentation

Period* clonePeriod ( const Period period,
Period result 
)

References period().

Referenced by clonePeriodV1().

Here is the call graph for this function:

PGDLLEXPORT Datum clonePeriodV1 ( PG_FUNCTION_ARGS  )

References clonePeriod().

Here is the call graph for this function:

Period* constructorPeriod ( Timestamp  i,
Timestamp  e,
Period result,
char **  error 
)

References e(), Period::e, i(), and Period::i.

Referenced by constructorPeriodV1().

Here is the call graph for this function:

PGDLLEXPORT Datum constructorPeriodV1 ( PG_FUNCTION_ARGS  )

References constructorPeriod().

Here is the call graph for this function:

bool equalsPeriod ( const Period periodA,
const Period periodB 
)

References Period::e, and Period::i.

Referenced by equalsPeriodV1().

PGDLLEXPORT Datum equalsPeriodV1 ( PG_FUNCTION_ARGS  )

References equalsPeriod().

Here is the call graph for this function:

PGDLLEXPORT Datum getEPeriod ( PG_FUNCTION_ARGS  )

References e().

Here is the call graph for this function:

PGDLLEXPORT Datum getIPeriod ( PG_FUNCTION_ARGS  )

References i().

Here is the call graph for this function:

PGDLLEXPORT Datum hashPeriod ( PG_FUNCTION_ARGS  )

References Period2Bytea().

Here is the call graph for this function:

Period* inPeriod ( const char *  str,
Period result,
char **  error 
)

References asprintfHermes(), e(), Period::e, i(), and Period::i.

Referenced by inPeriodV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inPeriodV1 ( PG_FUNCTION_ARGS  )

References inPeriod().

Here is the call graph for this function:

char* outPeriod ( const Period period)

References asprintfHermes(), Period::e, and Period::i.

Referenced by outPeriodV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outPeriodV1 ( PG_FUNCTION_ARGS  )

References outPeriod().

Here is the call graph for this function:

bytea* Period2Bytea ( const Period period)

References Period::e, Period::i, and sendTimestampHermes.

Referenced by hashPeriod(), and sendPeriod().

PGDLLEXPORT Datum recvPeriod ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum sendPeriod ( PG_FUNCTION_ARGS  )

References Period2Bytea().

Here is the call graph for this function: