aboutsummaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-02-22 05:57:45 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-02-22 05:57:45 +0000
commit80d6a277c921454d028e088762bb4a4723f9840e (patch)
treea00260ff44b3c75aa44afce2b7a9be850a139224 /src/include/miscadmin.h
parent799bc58dc7ed9899facfc8302040749cb0a9af2f (diff)
downloadpostgresql-80d6a277c921454d028e088762bb4a4723f9840e.tar.gz
postgresql-80d6a277c921454d028e088762bb4a4723f9840e.zip
Simplify timezone-handling code per proposal to pghackers: get rid of
setting timezone-related variables during transaction start. They were not used anyway in platforms that HAVE_TM_ZONE or HAVE_INT_TIMEZONE, which it appears is *all* the platforms we are currently supporting. For platforms that have neither, we now only support UTC or numeric- offset-from-UTC timezones.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index f5146926681..f8321325f6c 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: miscadmin.h,v 1.115 2003/01/09 18:00:24 tgl Exp $
+ * $Id: miscadmin.h,v 1.116 2003/02/22 05:57:45 tgl Exp $
*
* NOTES
* some of the information in this file should be moved to
@@ -141,10 +141,8 @@ extern DLLIMPORT Oid MyDatabaseId;
* DateStyle specifies preference for date formatting for output.
* EuroDates if client prefers dates interpreted and written w/European conventions.
*
- * HasCTZSet if client timezone is specified by client.
- * CDayLight is the apparent daylight savings time status.
- * CTimeZone is the timezone offset in seconds.
- * CTZName is the timezone label.
+ * HasCTZSet is true if user has set timezone as a numeric offset from UTC.
+ * If so, CTimeZone is the timezone offset in seconds.
*/
#define MAXTZLEN 10 /* max TZ name len, not counting tr. null */
@@ -157,9 +155,7 @@ extern DLLIMPORT Oid MyDatabaseId;
extern int DateStyle;
extern bool EuroDates;
extern bool HasCTZSet;
-extern bool CDayLight;
extern int CTimeZone;
-extern char CTZName[];
extern bool enableFsync;
extern bool allowSystemTableMods;