summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-07-21 20:37:21 +0000
committerBruce Momjian <bruce@momjian.us>2005-07-21 20:37:21 +0000
commite9c44bd38226b9de03ae55e77168b77dc767a9a4 (patch)
tree81773a7308d25b4b94798391fc7378e99737a446 /src/interfaces/ecpg
parente6b72d6af6fbe94e90019ca374199472bb1958a4 (diff)
downloadpostgresql-e9c44bd38226b9de03ae55e77168b77dc767a9a4.tar.gz
More comment update of time macros.
Diffstat (limited to 'src/interfaces/ecpg')
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h
index 008ac3b0a3..0e1da77748 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt.h
+++ b/src/interfaces/ecpg/pgtypeslib/dt.h
@@ -229,8 +229,8 @@ do { \
#define HOURS_PER_DAY 24 /* assume no daylight savings time changes */
/*
- * This doesn't adjust for uneven daylight savings time intervals, nor
- * leap seconds.
+ * This doesn't adjust for uneven daylight savings time intervals or leap
+ * seconds, and it crudely estimates leap years.
*/
#define SECS_PER_YEAR (36525 * 864) /* avoid floating-point computation */
#define SECS_PER_DAY 86400