Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones
Referencia del Archivo src/libpq/include/utils/nabstime.h
#include <limits.h>
#include "fmgr.h"
#include "utils/timestamp.h"
#include "utils/datetime.h"

Ir al código fuente de este archivo.

Clases

struct  TimeIntervalData

'defines'

#define DatumGetAbsoluteTime(X)   ((AbsoluteTime) DatumGetInt32(X))
#define DatumGetRelativeTime(X)   ((RelativeTime) DatumGetInt32(X))
#define DatumGetTimeInterval(X)   ((TimeInterval) DatumGetPointer(X))
#define AbsoluteTimeGetDatum(X)   Int32GetDatum(X)
#define RelativeTimeGetDatum(X)   Int32GetDatum(X)
#define TimeIntervalGetDatum(X)   PointerGetDatum(X)
#define PG_GETARG_ABSOLUTETIME(n)   DatumGetAbsoluteTime(PG_GETARG_DATUM(n))
#define PG_GETARG_RELATIVETIME(n)   DatumGetRelativeTime(PG_GETARG_DATUM(n))
#define PG_GETARG_TIMEINTERVAL(n)   DatumGetTimeInterval(PG_GETARG_DATUM(n))
#define PG_RETURN_ABSOLUTETIME(x)   return AbsoluteTimeGetDatum(x)
#define PG_RETURN_RELATIVETIME(x)   return RelativeTimeGetDatum(x)
#define PG_RETURN_TIMEINTERVAL(x)   return TimeIntervalGetDatum(x)
#define INVALID_ABSTIME   ((AbsoluteTime) 0x7FFFFFFE)
#define NOEND_ABSTIME   ((AbsoluteTime) 0x7FFFFFFC)
#define NOSTART_ABSTIME   ((AbsoluteTime) INT_MIN)
#define INVALID_RELTIME   ((RelativeTime) 0x7FFFFFFE)
#define AbsoluteTimeIsValid(time)   ((bool) ((time) != INVALID_ABSTIME))
#define AbsoluteTimeIsReal(time)
#define RelativeTimeIsValid(time)   ((bool) (((RelativeTime) (time)) != INVALID_RELTIME))

'typedefs'

typedef int32 AbsoluteTime
typedef int32 RelativeTime
typedef TimeIntervalDataTimeInterval

Funciones

Datum abstimein (PG_FUNCTION_ARGS)
Datum abstimeout (PG_FUNCTION_ARGS)
Datum abstimerecv (PG_FUNCTION_ARGS)
Datum abstimesend (PG_FUNCTION_ARGS)
Datum abstimeeq (PG_FUNCTION_ARGS)
Datum abstimene (PG_FUNCTION_ARGS)
Datum abstimelt (PG_FUNCTION_ARGS)
Datum abstimegt (PG_FUNCTION_ARGS)
Datum abstimele (PG_FUNCTION_ARGS)
Datum abstimege (PG_FUNCTION_ARGS)
Datum abstime_finite (PG_FUNCTION_ARGS)
Datum timestamp_abstime (PG_FUNCTION_ARGS)
Datum abstime_timestamp (PG_FUNCTION_ARGS)
Datum timestamptz_abstime (PG_FUNCTION_ARGS)
Datum abstime_timestamptz (PG_FUNCTION_ARGS)
Datum reltimein (PG_FUNCTION_ARGS)
Datum reltimeout (PG_FUNCTION_ARGS)
Datum reltimerecv (PG_FUNCTION_ARGS)
Datum reltimesend (PG_FUNCTION_ARGS)
Datum tintervalin (PG_FUNCTION_ARGS)
Datum tintervalout (PG_FUNCTION_ARGS)
Datum tintervalrecv (PG_FUNCTION_ARGS)
Datum tintervalsend (PG_FUNCTION_ARGS)
Datum interval_reltime (PG_FUNCTION_ARGS)
Datum reltime_interval (PG_FUNCTION_ARGS)
Datum mktinterval (PG_FUNCTION_ARGS)
Datum timepl (PG_FUNCTION_ARGS)
Datum timemi (PG_FUNCTION_ARGS)
Datum intinterval (PG_FUNCTION_ARGS)
Datum tintervalrel (PG_FUNCTION_ARGS)
Datum timenow (PG_FUNCTION_ARGS)
Datum reltimeeq (PG_FUNCTION_ARGS)
Datum reltimene (PG_FUNCTION_ARGS)
Datum reltimelt (PG_FUNCTION_ARGS)
Datum reltimegt (PG_FUNCTION_ARGS)
Datum reltimele (PG_FUNCTION_ARGS)
Datum reltimege (PG_FUNCTION_ARGS)
Datum tintervalsame (PG_FUNCTION_ARGS)
Datum tintervaleq (PG_FUNCTION_ARGS)
Datum tintervalne (PG_FUNCTION_ARGS)
Datum tintervallt (PG_FUNCTION_ARGS)
Datum tintervalgt (PG_FUNCTION_ARGS)
Datum tintervalle (PG_FUNCTION_ARGS)
Datum tintervalge (PG_FUNCTION_ARGS)
Datum tintervalleneq (PG_FUNCTION_ARGS)
Datum tintervallenne (PG_FUNCTION_ARGS)
Datum tintervallenlt (PG_FUNCTION_ARGS)
Datum tintervallengt (PG_FUNCTION_ARGS)
Datum tintervallenle (PG_FUNCTION_ARGS)
Datum tintervallenge (PG_FUNCTION_ARGS)
Datum tintervalct (PG_FUNCTION_ARGS)
Datum tintervalov (PG_FUNCTION_ARGS)
Datum tintervalstart (PG_FUNCTION_ARGS)
Datum tintervalend (PG_FUNCTION_ARGS)
Datum timeofday (PG_FUNCTION_ARGS)
AbsoluteTime GetCurrentAbsoluteTime (void)
void abstime2tm (AbsoluteTime time, int *tzp, struct pg_tm *tm, char **tzn)

Documentación de los 'defines'

#define AbsoluteTimeGetDatum (   X)    Int32GetDatum(X)
#define AbsoluteTimeIsReal (   time)
Valor:
((bool) (((AbsoluteTime) (time)) < NOEND_ABSTIME && \
                          ((AbsoluteTime) (time)) != NOSTART_ABSTIME))
#define AbsoluteTimeIsValid (   time)    ((bool) ((time) != INVALID_ABSTIME))
#define DatumGetAbsoluteTime (   X)    ((AbsoluteTime) DatumGetInt32(X))
#define DatumGetRelativeTime (   X)    ((RelativeTime) DatumGetInt32(X))
#define DatumGetTimeInterval (   X)    ((TimeInterval) DatumGetPointer(X))
#define INVALID_ABSTIME   ((AbsoluteTime) 0x7FFFFFFE)
#define INVALID_RELTIME   ((RelativeTime) 0x7FFFFFFE)
#define NOEND_ABSTIME   ((AbsoluteTime) 0x7FFFFFFC)
#define NOSTART_ABSTIME   ((AbsoluteTime) INT_MIN)
#define PG_GETARG_ABSOLUTETIME (   n)    DatumGetAbsoluteTime(PG_GETARG_DATUM(n))
#define PG_GETARG_RELATIVETIME (   n)    DatumGetRelativeTime(PG_GETARG_DATUM(n))
#define PG_GETARG_TIMEINTERVAL (   n)    DatumGetTimeInterval(PG_GETARG_DATUM(n))
#define PG_RETURN_ABSOLUTETIME (   x)    return AbsoluteTimeGetDatum(x)
#define PG_RETURN_RELATIVETIME (   x)    return RelativeTimeGetDatum(x)
#define PG_RETURN_TIMEINTERVAL (   x)    return TimeIntervalGetDatum(x)
#define RelativeTimeGetDatum (   X)    Int32GetDatum(X)
#define RelativeTimeIsValid (   time)    ((bool) (((RelativeTime) (time)) != INVALID_RELTIME))
#define TimeIntervalGetDatum (   X)    PointerGetDatum(X)

Documentación de los 'typedefs'


Documentación de las funciones

void abstime2tm ( AbsoluteTime  time,
int tzp,
struct pg_tm *  tm,
char **  tzn 
)
Datum abstime_finite ( PG_FUNCTION_ARGS  )
Datum abstime_timestamp ( PG_FUNCTION_ARGS  )
Datum abstime_timestamptz ( PG_FUNCTION_ARGS  )
Datum abstimeeq ( PG_FUNCTION_ARGS  )
Datum abstimege ( PG_FUNCTION_ARGS  )
Datum abstimegt ( PG_FUNCTION_ARGS  )
Datum abstimein ( PG_FUNCTION_ARGS  )
Datum abstimele ( PG_FUNCTION_ARGS  )
Datum abstimelt ( PG_FUNCTION_ARGS  )
Datum abstimene ( PG_FUNCTION_ARGS  )
Datum abstimeout ( PG_FUNCTION_ARGS  )
Datum abstimerecv ( PG_FUNCTION_ARGS  )
Datum abstimesend ( PG_FUNCTION_ARGS  )
AbsoluteTime GetCurrentAbsoluteTime ( void  )
Datum interval_reltime ( PG_FUNCTION_ARGS  )
Datum intinterval ( PG_FUNCTION_ARGS  )
Datum mktinterval ( PG_FUNCTION_ARGS  )
Datum reltime_interval ( PG_FUNCTION_ARGS  )
Datum reltimeeq ( PG_FUNCTION_ARGS  )
Datum reltimege ( PG_FUNCTION_ARGS  )
Datum reltimegt ( PG_FUNCTION_ARGS  )
Datum reltimein ( PG_FUNCTION_ARGS  )
Datum reltimele ( PG_FUNCTION_ARGS  )
Datum reltimelt ( PG_FUNCTION_ARGS  )
Datum reltimene ( PG_FUNCTION_ARGS  )
Datum reltimeout ( PG_FUNCTION_ARGS  )
Datum reltimerecv ( PG_FUNCTION_ARGS  )
Datum reltimesend ( PG_FUNCTION_ARGS  )
Datum timemi ( PG_FUNCTION_ARGS  )
Datum timenow ( PG_FUNCTION_ARGS  )
Datum timeofday ( PG_FUNCTION_ARGS  )
Datum timepl ( PG_FUNCTION_ARGS  )
Datum timestamp_abstime ( PG_FUNCTION_ARGS  )
Datum timestamptz_abstime ( PG_FUNCTION_ARGS  )
Datum tintervalct ( PG_FUNCTION_ARGS  )
Datum tintervalend ( PG_FUNCTION_ARGS  )
Datum tintervaleq ( PG_FUNCTION_ARGS  )
Datum tintervalge ( PG_FUNCTION_ARGS  )
Datum tintervalgt ( PG_FUNCTION_ARGS  )
Datum tintervalin ( PG_FUNCTION_ARGS  )
Datum tintervalle ( PG_FUNCTION_ARGS  )
Datum tintervalleneq ( PG_FUNCTION_ARGS  )
Datum tintervallenge ( PG_FUNCTION_ARGS  )
Datum tintervallengt ( PG_FUNCTION_ARGS  )
Datum tintervallenle ( PG_FUNCTION_ARGS  )
Datum tintervallenlt ( PG_FUNCTION_ARGS  )
Datum tintervallenne ( PG_FUNCTION_ARGS  )
Datum tintervallt ( PG_FUNCTION_ARGS  )
Datum tintervalne ( PG_FUNCTION_ARGS  )
Datum tintervalout ( PG_FUNCTION_ARGS  )
Datum tintervalov ( PG_FUNCTION_ARGS  )
Datum tintervalrecv ( PG_FUNCTION_ARGS  )
Datum tintervalrel ( PG_FUNCTION_ARGS  )
Datum tintervalsame ( PG_FUNCTION_ARGS  )
Datum tintervalsend ( PG_FUNCTION_ARGS  )
Datum tintervalstart ( PG_FUNCTION_ARGS  )
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'