diff options
author | Tom Lane | 2013-11-01 17:57:31 +0000 |
---|---|---|
committer | Tom Lane | 2013-11-01 17:57:31 +0000 |
commit | 45f64f1bbf19283795762df6a54f9aa74fee05f7 (patch) | |
tree | 147fc9b2af824f6503f77b0ea2e14d2e7fdd6172 /src/include/miscadmin.h | |
parent | 1c8a7f617fd1d38cb0540266e4fca6835f61005a (diff) |
Remove CTimeZone/HasCTZSet, root and branch.
These variables no longer have any useful purpose, since there's no reason
to special-case brute force timezones now that we have a valid
session_timezone setting for them. Remove the variables, and remove the
SET/SHOW TIME ZONE code that deals with them.
The user-visible impact of this is that SHOW TIME ZONE will now show a
POSIX-style zone specification, in the form "<+-offset>-+offset", rather
than an interval value when a brute-force zone has been set. While perhaps
less intuitive, this is a better definition than before because it's
actually possible to give that string back to SET TIME ZONE and get the
same behavior, unlike what used to happen.
We did not previously mention the angle-bracket syntax when describing
POSIX timezone specifications; add some documentation so that people
can figure out what these strings do. (There's still quite a lot of
undocumented functionality there, but anybody who really cares can
go read the POSIX spec to find out about it. In practice most people
seem to prefer Olsen-style city names anyway.)
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 0aa540a08ef..98ca5539a4c 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -219,15 +219,6 @@ extern int DateOrder; extern int IntervalStyle; -/* - * HasCTZSet is true if user has set timezone as a numeric offset from UTC. - * If so, CTimeZone is the timezone offset in seconds (using the Unix-ish - * sign convention, ie, positive offset is west of UTC, rather than the - * SQL-ish convention that positive is east of UTC). - */ -extern bool HasCTZSet; -extern int CTimeZone; - #define MAXTZLEN 10 /* max TZ name len, not counting tr. null */ extern bool enableFsync; |