File tree 2 files changed +5
-5
lines changed
interfaces/ecpg/pgtypeslib
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
7
7
* Portions Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.51 2005/07/21 18:06:13 momjian Exp $
9
+ * $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.52 2005/07/21 20:37:21 momjian Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -73,8 +73,8 @@ typedef struct
73
73
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
74
74
75
75
/*
76
- * This doesn't adjust for uneven daylight savings time intervals, nor
77
- * leap seconds .
76
+ * This doesn't adjust for uneven daylight savings time intervals or leap
77
+ * seconds, and it crudely estimates leap years .
78
78
*/
79
79
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
80
80
#define SECS_PER_DAY 86400
Original file line number Diff line number Diff line change @@ -229,8 +229,8 @@ do { \
229
229
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
230
230
231
231
/*
232
- * This doesn't adjust for uneven daylight savings time intervals, nor
233
- * leap seconds .
232
+ * This doesn't adjust for uneven daylight savings time intervals or leap
233
+ * seconds, and it crudely estimates leap years .
234
234
*/
235
235
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
236
236
#define SECS_PER_DAY 86400
You can’t perform that action at this time.
0 commit comments