]> granicus.if.org Git - postgresql/commitdiff
Suppress use of timezone library by ecpg.
authorBruce Momjian <bruce@momjian.us>
Fri, 30 Apr 2004 20:47:33 +0000 (20:47 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 30 Apr 2004 20:47:33 +0000 (20:47 +0000)
src/include/c.h

index 6d7f852ed5fdd75a59b3e337785224447a068e9e..129634f5bb6e3df5f32d59f5b77b405a4bfe4672 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $PostgreSQL: pgsql/src/include/c.h,v 1.161 2004/04/30 04:14:05 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/c.h,v 1.162 2004/04/30 20:47:33 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -310,7 +310,7 @@ typedef unsigned long int uint64;
 #endif
 
 /* Global variable holding time zone information. */
-#ifdef USE_PGTZ
+#if defined(USE_PGTZ) && !defined(FRONTEND)
 #define TIMEZONE_GLOBAL pg_timezone
 #else
 #ifndef HAVE_UNDERSCORE_TIMEZONE