From e9c44bd38226b9de03ae55e77168b77dc767a9a4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 21 Jul 2005 20:37:21 +0000 Subject: [PATCH] More comment update of time macros. --- src/include/utils/timestamp.h | 6 +++--- src/interfaces/ecpg/pgtypeslib/dt.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/include/utils/timestamp.h b/src/include/utils/timestamp.h index 3e2ac94a215..88161f1cce0 100644 --- a/src/include/utils/timestamp.h +++ b/src/include/utils/timestamp.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.51 2005/07/21 18:06:13 momjian Exp $ + * $PostgreSQL: pgsql/src/include/utils/timestamp.h,v 1.52 2005/07/21 20:37:21 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -73,8 +73,8 @@ typedef struct #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 diff --git a/src/interfaces/ecpg/pgtypeslib/dt.h b/src/interfaces/ecpg/pgtypeslib/dt.h index 008ac3b0a31..0e1da777485 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