From 4ebc4e39d18020a97ff045b5f0f6da5ec430e252 Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Mon, 10 Nov 1997 15:37:15 +0000
Subject: [PATCH] Do a more complete job of supporting time zone information.
 Try to save pre-existing TZ environment variable if possible. Includes code
 from Keith Parks.

---
 src/backend/tcop/variable.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/backend/tcop/variable.c b/src/backend/tcop/variable.c
index aaf504b2ac7..4214aac03d7 100644
--- a/src/backend/tcop/variable.c
+++ b/src/backend/tcop/variable.c
@@ -2,7 +2,7 @@
  * Routines for handling of 'SET var TO',
  *  'SHOW var' and 'RESET var' statements.
  *
- * $Id: variable.c,v 1.20 1997/11/10 15:24:56 thomas Exp $
+ * $Id: variable.c,v 1.21 1997/11/10 15:37:15 thomas Exp $
  *
  */
 
@@ -439,6 +439,11 @@ static char *defaultTZ = NULL;
 static char TZvalue[64];
 static char tzbuf[64];
 
+/* parse_timezone()
+ * Handle SET TIME ZONE...
+ * Try to save existing TZ environment variable for later use in RESET TIME ZONE.
+ * - thomas 1997-11-10
+ */
 bool
 parse_timezone(const char *value)
 {
-- 
GitLab