mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Pgindent run for 8.0.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/include/pgtime.h,v 1.3 2004/08/29 04:13:03 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/pgtime.h,v 1.4 2004/08/29 05:06:55 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -22,17 +22,18 @@
|
||||
|
||||
typedef int64 pg_time_t;
|
||||
|
||||
struct pg_tm {
|
||||
int tm_sec;
|
||||
int tm_min;
|
||||
int tm_hour;
|
||||
int tm_mday;
|
||||
int tm_mon; /* origin 0, not 1 */
|
||||
int tm_year; /* relative to 1900 */
|
||||
int tm_wday;
|
||||
int tm_yday;
|
||||
int tm_isdst;
|
||||
long int tm_gmtoff;
|
||||
struct pg_tm
|
||||
{
|
||||
int tm_sec;
|
||||
int tm_min;
|
||||
int tm_hour;
|
||||
int tm_mday;
|
||||
int tm_mon; /* origin 0, not 1 */
|
||||
int tm_year; /* relative to 1900 */
|
||||
int tm_wday;
|
||||
int tm_yday;
|
||||
int tm_isdst;
|
||||
long int tm_gmtoff;
|
||||
const char *tm_zone;
|
||||
};
|
||||
|
||||
@ -40,10 +41,10 @@ extern struct pg_tm *pg_localtime(const pg_time_t *);
|
||||
extern struct pg_tm *pg_gmtime(const pg_time_t *);
|
||||
extern bool pg_tzset(const char *tzname);
|
||||
extern size_t pg_strftime(char *s, size_t max, const char *format,
|
||||
const struct pg_tm *tm);
|
||||
const struct pg_tm * tm);
|
||||
extern void pg_timezone_initialize(void);
|
||||
extern bool tz_acceptable(void);
|
||||
extern const char *select_default_timezone(void);
|
||||
extern const char *pg_get_current_timezone(void);
|
||||
|
||||
#endif /* _PGTIME_H */
|
||||
#endif /* _PGTIME_H */
|
||||
|
Reference in New Issue
Block a user