3 #ifndef PGTYPES_TIMESTAMP
4 #define PGTYPES_TIMESTAMP
static void const char * fmt
int PGTYPEStimestamp_sub_interval(timestamp *tin, interval *span, timestamp *tout)
timestamp PGTYPEStimestamp_from_asc(char *str, char **endptr)
int PGTYPEStimestamp_sub(timestamp *ts1, timestamp *ts2, interval *iv)
int PGTYPEStimestamp_add_interval(timestamp *tin, interval *span, timestamp *tout)
void PGTYPEStimestamp_current(timestamp *ts)
char * PGTYPEStimestamp_to_asc(timestamp tstamp)
int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, const char *fmtstr)
int PGTYPEStimestamp_defmt_asc(const char *str, const char *fmt, timestamp *d)
static void fmtstr(const char *value, int leftjust, int minlen, int maxwidth, int pointflag, PrintfTarget *target)