From 80d6a277c921454d028e088762bb4a4723f9840e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 22 Feb 2003 05:57:45 +0000 Subject: 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. --- src/include/miscadmin.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index f514692668..f8321325f6 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; -- cgit v1.2.1