Commit 4ebc4e39 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

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.
parent b42e37bc
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment