summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2004-04-30 20:47:33 +0000
committerBruce Momjian2004-04-30 20:47:33 +0000
commite5722465659d553e7b83f9a75af9197e13f05fa8 (patch)
treeada143ea1fb39df908130d758bd13f9cb7cd362d
parent85b7e8351f1647d1941eb4ddd1f89f9765d5f907 (diff)
Suppress use of timezone library by ecpg.
-rw-r--r--src/include/c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 6d7f852ed5f..129634f5bb6 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -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