From 5ff4f39c0efd45d7a85d5139fd7367fc19da82cd Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 16 Sep 2006 20:14:34 +0000 Subject: Rename the recently-added pg_timezonenames view to pg_timezone_abbrevs, and create a new view pg_timezone_names that provides information about the zones known in the 'zic' database. Magnus Hagander, with some additional work by Tom Lane. --- doc/src/sgml/catalogs.sgml | 80 ++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 71 insertions(+), 9 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 3a5ad70cc2d..2201a687eb7 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,4 +1,4 @@ - + @@ -4564,10 +4564,15 @@ - pg_timezonenames + pg_timezone_abbrevs time zone abbreviations + + pg_timezone_names + time zone names + + pg_user database users @@ -5884,22 +5889,74 @@ - - <structname>pg_timezonenames</structname> + + <structname>pg_timezone_abbrevs</structname> - - pg_timezonenames + + pg_timezone_abbrevs - The view pg_timezonenames provides a list + The view pg_timezone_abbrevs provides a list of time zone abbreviations that are currently recognized by the datetime input routines. The contents of this view change when the run-time parameter is modified. - <structname>pg_timezonenames</> Columns + <structname>pg_timezone_abbrevs</> Columns + + + + + Name + Type + Description + + + + + abbrev + text + time zone abbreviation + + + utc_offset + interval + offset from UTC (positive means east of Greenwich) + + + is_dst + boolean + true if this is a daylight-savings abbreviation + + + +
+ +
+ + + <structname>pg_timezone_names</structname> + + + pg_timezone_names + + + + The view pg_timezone_names provides a list + of time zone names that are recognized by SET TIMEZONE, + along with their associated abbreviations, UTC offsets, + and daylight-savings status. + Unlike the abbreviations shown in pg_timezone_abbrevs, many of these names imply a set of daylight-savings transition + date rules. Therefore, the associated information changes across local DST + boundaries. The displayed information is computed based on the current + value of CURRENT_TIMESTAMP. + + + + <structname>pg_timezone_names</> Columns @@ -5913,6 +5970,11 @@ name text + time zone name + + + abbrev + text time zone abbreviation @@ -5923,7 +5985,7 @@ is_dst boolean - true if this is a daylight-savings zone + true if currently observing daylight savings -- cgit v1.2.3