Skip to content

Commit e9c44bd

Browse files
committed
More comment update of time macros.
1 parent e6b72d6 commit e9c44bd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/include/utils/timestamp.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
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 $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -73,8 +73,8 @@ typedef struct
7373
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
7474

7575
/*
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.
7878
*/
7979
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
8080
#define SECS_PER_DAY 86400

src/interfaces/ecpg/pgtypeslib/dt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,8 @@ do { \
229229
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
230230

231231
/*
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.
234234
*/
235235
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
236236
#define SECS_PER_DAY 86400

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy