| Server IP : 185.216.8.13 / Your IP : 216.73.217.62 Web Server : Apache System : Linux webhost-vie2.sitetide.com 4.18.0-553.156.1.el8_10.x86_64 #1 SMP Mon Aug 17 17:52:57 UTC 2026 x86_64 User : medicalkn ( 9986) PHP Version : 8.2.33 Disable Function : syslog MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/pgsql-17/include/ |
Upload File : |
/* src/interfaces/ecpg/include/pgtypes_timestamp.h */
#ifndef PGTYPES_TIMESTAMP
#define PGTYPES_TIMESTAMP
#include <pgtypes.h>
/* pgtypes_interval.h includes ecpg_config.h */
#include <pgtypes_interval.h>
typedef int64 timestamp;
typedef int64 TimestampTz;
#ifdef __cplusplus
extern "C"
{
#endif
extern timestamp PGTYPEStimestamp_from_asc(char *str, char **endptr);
extern char *PGTYPEStimestamp_to_asc(timestamp tstamp);
extern int PGTYPEStimestamp_sub(timestamp * ts1, timestamp * ts2, interval * iv);
extern int PGTYPEStimestamp_fmt_asc(timestamp * ts, char *output, int str_len, const char *fmtstr);
extern void PGTYPEStimestamp_current(timestamp * ts);
extern int PGTYPEStimestamp_defmt_asc(const char *str, const char *fmt, timestamp * d);
extern int PGTYPEStimestamp_add_interval(timestamp * tin, interval * span, timestamp * tout);
extern int PGTYPEStimestamp_sub_interval(timestamp * tin, interval * span, timestamp * tout);
#ifdef __cplusplus
}
#endif
#endif /* PGTYPES_TIMESTAMP */