From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove CTimeZone/HasCTZSet, root and branch. |
Date: | 2013-11-01 17:57:42 |
Message-ID: | E1VcIyc-0000V6-3G@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.)
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/45f64f1bbf19283795762df6a54f9aa74fee05f7
Modified Files
--------------
doc/src/sgml/datatype.sgml | 7 ++-
doc/src/sgml/ref/set.sgml | 9 +++
src/backend/commands/variable.c | 96 +++++---------------------------
src/backend/utils/init/globals.c | 2 -
src/include/miscadmin.h | 9 ---
src/test/regress/expected/horology.out | 6 +-
6 files changed, 31 insertions(+), 98 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-11-01 20:10:41 | pgsql: Ensure all files created for a single BufFile have the same reso |
Previous Message | Tom Lane | 2013-11-01 16:51:34 | pgsql: Remove internal uses of CTimeZone/HasCTZSet. |