Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ebc4e3

Browse files
author
Thomas G. Lockhart
committed
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.
1 parentb42e37b commit4ebc4e3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/backend/tcop/variable.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Routines for handling of 'SET var TO',
33
* 'SHOW var' and 'RESET var' statements.
44
*
5-
* $Id: variable.c,v 1.20 1997/11/10 15:24:56 thomas Exp $
5+
* $Id: variable.c,v 1.21 1997/11/10 15:37:15 thomas Exp $
66
*
77
*/
88

@@ -439,6 +439,11 @@ static char *defaultTZ = NULL;
439439
staticcharTZvalue[64];
440440
staticchartzbuf[64];
441441

442+
/* parse_timezone()
443+
* Handle SET TIME ZONE...
444+
* Try to save existing TZ environment variable for later use in RESET TIME ZONE.
445+
* - thomas 1997-11-10
446+
*/
442447
bool
443448
parse_timezone(constchar*value)
444449
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp