From e5722465659d553e7b83f9a75af9197e13f05fa8 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 30 Apr 2004 20:47:33 +0000
Subject: [PATCH] Suppress use of timezone library by ecpg.

---
 src/include/c.h | 4 ++--
 1 file 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
-- 
GitLab