提交 4ebc4e39 编写于 作者: T 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.
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册