pgtypes_timestamp.h
来自「postgresql8.3.4源码,开源数据库」· C头文件 代码 · 共 36 行
H
36 行
/* $PostgreSQL: pgsql/src/interfaces/ecpg/include/pgtypes_timestamp.h,v 1.11 2006/08/23 12:01:52 meskes Exp $ */#ifndef PGTYPES_TIMESTAMP#define PGTYPES_TIMESTAMP/* pgtypes_interval.h includes ecpg_config.h */#include <pgtypes_interval.h>#ifdef HAVE_INT64_TIMESTAMPtypedef int64 timestamp;typedef int64 TimestampTz;#elsetypedef double timestamp;typedef double TimestampTz;#endif#ifdef __cplusplusextern "C"{#endifextern timestamp PGTYPEStimestamp_from_asc(char *, char **);extern char *PGTYPEStimestamp_to_asc(timestamp);extern int PGTYPEStimestamp_sub(timestamp *, timestamp *, interval *);extern int PGTYPEStimestamp_fmt_asc(timestamp *, char *, int, char *);extern void PGTYPEStimestamp_current(timestamp *);extern int PGTYPEStimestamp_defmt_asc(char *, char *, timestamp *);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 */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?