aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-02-02 01:28:12 +0000
committerBruce Momjian <bruce@momjian.us>1998-02-02 01:28:12 +0000
commit244c4a180fafcaab686bf912bd52a5e69bc9946b (patch)
treee787ea0b6bcb1c58d391b52f156feb7e17366fc7
parent3ebbb76c6d38681992c7c55b56692936c05c11bf (diff)
downloadpostgresql-244c4a180fafcaab686bf912bd52a5e69bc9946b.tar.gz
postgresql-244c4a180fafcaab686bf912bd52a5e69bc9946b.zip
No datedebug printing of date debug is not defined.
-rw-r--r--src/backend/utils/adt/nabstime.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c
index ad8fd22d0d1..7c4d1364a76 100644
--- a/src/backend/utils/adt/nabstime.c
+++ b/src/backend/utils/adt/nabstime.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.40 1998/02/01 19:43:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.41 1998/02/02 01:28:12 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -140,7 +140,8 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn)
};
#endif
-#if defined(DATEDEBUG) && defined(HAVE_INT_TIMEZONE)
+#if defined(DATEDEBUG)
+#if defined(HAVE_INT_TIMEZONE)
printf("datetime2tm- (localtime) %d.%02d.%02d %02d:%02d:%02d %s %s dst=%d\n",
tx->tm_year, tx->tm_mon, tx->tm_mday, tx->tm_hour, tx->tm_min, tx->tm_sec,
tzname[0], tzname[1], tx->tm_isdst);
@@ -149,6 +150,7 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn)
tx->tm_year, tx->tm_mon, tx->tm_mday, tx->tm_hour, tx->tm_min, tx->tm_sec,
tx->tm_zone, tx->tm_isdst);
#endif
+#endif
#ifdef USE_POSIX_TIME