Skip to content

Commit e572246

Browse files
committed
Suppress use of timezone library by ecpg.
1 parent 85b7e83 commit e572246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/c.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $PostgreSQL: pgsql/src/include/c.h,v 1.161 2004/04/30 04:14:05 momjian Exp $
15+
* $PostgreSQL: pgsql/src/include/c.h,v 1.162 2004/04/30 20:47:33 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -310,7 +310,7 @@ typedef unsigned long int uint64;
310310
#endif
311311

312312
/* Global variable holding time zone information. */
313-
#ifdef USE_PGTZ
313+
#if defined(USE_PGTZ) && !defined(FRONTEND)
314314
#define TIMEZONE_GLOBAL pg_timezone
315315
#else
316316
#ifndef HAVE_UNDERSCORE_TIMEZONE

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy