GIF89a; EcchiShell v1.0
//proc/self/root/usr/include/pgsql/ NOSTART_ABSTIME" as "time != NOSTART_ABSTIME", which avoids * compiler bugs on some platforms. --- tgl & az, 11/2000 */ #define AbsoluteTimeIsReal(time) \ ((bool) (((AbsoluteTime) (time)) < NOEND_ABSTIME && \ ((AbsoluteTime) (time)) != NOSTART_ABSTIME)) #define RelativeTimeIsValid(time) \ ((bool) (((RelativeTime) (time)) != INVALID_RELTIME)) /* * nabstime.c prototypes */ extern Datum abstimein(PG_FUNCTION_ARGS); extern Datum abstimeout(PG_FUNCTION_ARGS); extern Datum abstimerecv(PG_FUNCTION_ARGS); extern Datum abstimesend(PG_FUNCTION_ARGS); extern Datum abstimeeq(PG_FUNCTION_ARGS); extern Datum abstimene(PG_FUNCTION_ARGS); extern Datum abstimelt(PG_FUNCTION_ARGS); extern Datum abstimegt(PG_FUNCTION_ARGS); extern Datum abstimele(PG_FUNCTION_ARGS); extern Datum abstimege(PG_FUNCTION_ARGS); extern Datum abstime_finite(PG_FUNCTION_ARGS); extern Datum timestamp_abstime(PG_FUNCTION_ARGS); extern Datum abstime_timestamp(PG_FUNCTION_ARGS); extern Datum timestamptz_abstime(PG_FUNCTION_ARGS); extern Datum abstime_timestamptz(PG_FUNCTION_ARGS); extern Datum reltimein(PG_FUNCTION_ARGS); extern Datum reltimeout(PG_FUNCTION_ARGS); extern Datum reltimerecv(PG_FUNCTION_ARGS); extern Datum reltimesend(PG_FUNCTION_ARGS); extern Datum tintervalin(PG_FUNCTION_ARGS); extern Datum tintervalout(PG_FUNCTION_ARGS); extern Datum tintervalrecv(PG_FUNCTION_ARGS); extern Datum tintervalsend(PG_FUNCTION_ARGS); extern Datum interval_reltime(PG_FUNCTION_ARGS); extern Datum reltime_interval(PG_FUNCTION_ARGS); extern Datum mktinterval(PG_FUNCTION_ARGS); extern Datum timepl(PG_FUNCTION_ARGS); extern Datum timemi(PG_FUNCTION_ARGS); extern Datum intinterval(PG_FUNCTION_ARGS); extern Datum tintervalrel(PG_FUNCTION_ARGS); extern Datum timenow(PG_FUNCTION_ARGS); extern Datum reltimeeq(PG_FUNCTION_ARGS); extern Datum reltimene(PG_FUNCTION_ARGS); extern Datum reltimelt(PG_FUNCTION_ARGS); extern Datum reltimegt(PG_FUNCTION_ARGS); extern Datum reltimele(PG_FUNCTION_ARGS); extern Datum reltimege(PG_FUNCTION_ARGS); extern Datum tintervalsame(PG_FUNCTION_ARGS); extern Datum tintervaleq(PG_FUNCTION_ARGS); extern Datum tintervalne(PG_FUNCTION_ARGS); extern Datum tintervallt(PG_FUNCTION_ARGS); extern Datum tintervalgt(PG_FUNCTION_ARGS); extern Datum tintervalle(PG_FUNCTION_ARGS); extern Datum tintervalge(PG_FUNCTION_ARGS); extern Datum tintervalleneq(PG_FUNCTION_ARGS); extern Datum tintervallenne(PG_FUNCTION_ARGS); extern Datum tintervallenlt(PG_FUNCTION_ARGS); extern Datum tintervallengt(PG_FUNCTION_ARGS); extern Datum tintervallenle(PG_FUNCTION_ARGS); extern Datum tintervallenge(PG_FUNCTION_ARGS); extern Datum tintervalct(PG_FUNCTION_ARGS); extern Datum tintervalov(PG_FUNCTION_ARGS); extern Datum tintervalstart(PG_FUNCTION_ARGS); extern Datum tintervalend(PG_FUNCTION_ARGS); extern Datum timeofday(PG_FUNCTION_ARGS); /* non-fmgr-callable support routines */ extern AbsoluteTime GetCurrentAbsoluteTime(void); extern void abstime2tm(AbsoluteTime time, int *tzp, struct pg_tm * tm, char **tzn); #endif /* NABSTIME_H */