From ec96f1dacd7f8ea1b2a85dd6bfd2ae0157e9239f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 18 Jun 2001 19:05:11 +0000 Subject: [PATCH] Fix some references to USE_AUSTRALIAN_RULES that Bruce missed; plus a few trivial improvements in wording. --- doc/src/sgml/datatype.sgml | 13 ++++----- doc/src/sgml/datetime.sgml | 55 +++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index e86614f2ef..3ca2d7f296 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,5 +1,5 @@ @@ -1518,8 +1518,9 @@ January 8 04:05:06 1999 PST - The PGTZ environment variable set at the client used by libpq - to send time zone information to the backend upon connection. + The PGTZ environment variable, if set at the client, is used by libpq + to send a SET TIME ZONE command to the backend upon + connection. @@ -1552,9 +1553,9 @@ January 8 04:05:06 1999 PST - If the compiler option USE_AUSTRALIAN_RULES is set - then EST refers to Australia Eastern Standard Time, - which has an offset of +10:00 hours from UTC. + If the runtime option AUSTRALIAN_TIMEZONES is set + then CST and EST refer to + Australian timezones, not American ones. diff --git a/doc/src/sgml/datetime.sgml b/doc/src/sgml/datetime.sgml index 96db86f34d..abd59e5600 100644 --- a/doc/src/sgml/datetime.sgml +++ b/doc/src/sgml/datetime.sgml @@ -1,5 +1,5 @@ @@ -18,7 +18,7 @@ Date/time details information for time zone decoding, since there is no *nix standard system interface to provide access to general, cross-timezone information. The underlying OS is used to - provide time zone information for output. + provide time zone information for output, however. <productname>Postgres</productname> Recognized Time Zones @@ -45,7 +45,7 @@ Date/time details NZST +12:00 - New Zealand Std Time + New Zealand Standard Time NZT @@ -55,12 +55,12 @@ Date/time details AESST +11:00 - Australia Eastern Summer Std Time + Australia Eastern Summer Standard Time ACSST +10:30 - Central Australia Summer Std Time + Central Australia Summer Standard Time CADT @@ -75,17 +75,17 @@ Date/time details AEST +10:00 - Australia Eastern Std Time + Australia Eastern Standard Time EAST +10:00 - East Australian Std Time + East Australian Standard Time GST +10:00 - Guam Std Time, USSR Zone 9 + Guam Standard Time, USSR Zone 9 LIGT @@ -95,27 +95,27 @@ Date/time details ACST +09:30 - Central Australia Std Time + Central Australia Standard Time SAST +09:30 - South Australia Std Time + South Australia Standard Time CAST +09:30 - Central Australia Std Time + Central Australia Standard Time AWSST +9:00 - Australia Western Summer Std Time + Australia Western Summer Standard Time JST +9:00 - Japan Std Time,USSR Zone 8 + Japan Standard Time,USSR Zone 8 KST @@ -135,7 +135,7 @@ Date/time details AWST +8:00 - Australia Western Std Time + Australia Western Standard Time CCT @@ -150,7 +150,7 @@ Date/time details WST +8:00 - West Australian Std Time + West Australian Standard Time JT @@ -160,7 +160,7 @@ Date/time details WAST +7:00 - West Australian Std Time + West Australian Standard Time IT @@ -195,7 +195,7 @@ Date/time details IST +2:00 - Israel Std Time + Israel Standard Time MEST @@ -305,7 +305,7 @@ Date/time details AST -4:00 - Atlantic Std Time (Canada) + Atlantic Standard Time (Canada) EDT @@ -339,7 +339,7 @@ Date/time details CST -6:00 - Central Std Time + Central Standard Time MDT @@ -366,7 +366,7 @@ Date/time details PST -8:00 - Pacific Std Time + Pacific Standard Time YDT @@ -386,7 +386,7 @@ Date/time details AHST -10:00 - Alaska-Hawaii Std Time + Alaska-Hawaii Standard Time CAT @@ -415,17 +415,18 @@ Date/time details Australian time zones and their naming variants account for fully one quarter of all time zones in the Postgres time zone lookup table. - There are two naming conflicts with common time zones defined + There are two naming conflicts with time zones commonly used in the United States, CST and EST. - If the compiler option USE_AUSTRALIAN_RULES is set + If the runtime option AUSTRALIAN_TIMEZONES is set then CST, EST, and SAT will be - interpreted using Australian conventions. Without this option, - SAT is interpreted as a noise word indicating - "Saturday". + interpreted as Australian timezone names. Without this option, + CST and EST are taken as + American timezone names, while SAT is interpreted as a + noise word indicating "Saturday".
<productname>Postgres</productname> Australian Time Zones @@ -452,7 +453,7 @@ Date/time details SAT +9:30 - South Australian Std Time + South Australian Standard Time -- 2.49.0