diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-02-01 19:43:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-02-01 19:43:54 +0000 |
commit | 6159ba3ab12c1aed7729497ed8a03b6a0a915f43 (patch) | |
tree | 98e6b92acc17acf5451d6b167461d8021f482e73 /src/backend/utils/adt/nabstime.c | |
parent | 44030ef2297bd1fcf0ffe70ca7a42fa9b787157e (diff) | |
download | postgresql-6159ba3ab12c1aed7729497ed8a03b6a0a915f43.tar.gz postgresql-6159ba3ab12c1aed7729497ed8a03b6a0a915f43.zip |
AIX patch from Darren King and Univel patch from Billy Allie, mostly
related to grammar and parser issues, with one postmaster fix.
Diffstat (limited to 'src/backend/utils/adt/nabstime.c')
-rw-r--r-- | src/backend/utils/adt/nabstime.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c index 85e83814712..ad8fd22d0d1 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.39 1998/01/07 18:46:50 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.40 1998/02/01 19:43:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -138,11 +138,9 @@ abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn) { tx = gmtime((time_t *) &time); }; -#else #endif -#ifdef DATEDEBUG -#ifdef HAVE_INT_TIMEZONE +#if defined(DATEDEBUG) && 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); @@ -151,8 +149,6 @@ 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 -#else -#endif #ifdef USE_POSIX_TIME |