1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Fix some references to USE_AUSTRALIAN_RULES that Bruce missed;

plus a few trivial improvements in wording.
This commit is contained in:
Tom Lane
2001-06-18 19:05:11 +00:00
parent bf2a92365c
commit ec96f1dacd
2 changed files with 35 additions and 33 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.55 2001/05/22 16:37:15 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.56 2001/06/18 19:05:11 tgl Exp $
--> -->
<chapter id="datatype"> <chapter id="datatype">
@ -1518,8 +1518,9 @@ January 8 04:05:06 1999 PST
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
The PGTZ environment variable set at the client used by libpq The PGTZ environment variable, if set at the client, is used by libpq
to send time zone information to the backend upon connection. to send a <command>SET TIME ZONE</command> command to the backend upon
connection.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
@ -1552,9 +1553,9 @@ January 8 04:05:06 1999 PST
<note> <note>
<para> <para>
If the compiler option USE_AUSTRALIAN_RULES is set If the runtime option <literal>AUSTRALIAN_TIMEZONES</literal> is set
then <literal>EST</literal> refers to Australia Eastern Standard Time, then <literal>CST</literal> and <literal>EST</literal> refer to
which has an offset of +10:00 hours from UTC. Australian timezones, not American ones.
</para> </para>
</note> </note>
</para> </para>

View File

@ -1,5 +1,5 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.18 2001/05/12 22:51:34 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.19 2001/06/18 19:05:11 tgl Exp $
Date/time details Date/time details
--> -->
@ -18,7 +18,7 @@ Date/time details
information for time zone decoding, since there is no *nix standard information for time zone decoding, since there is no *nix standard
system interface to provide access to general, cross-timezone system interface to provide access to general, cross-timezone
information. The underlying OS <emphasis>is</emphasis> used to information. The underlying OS <emphasis>is</emphasis> used to
provide time zone information for <emphasis>output</emphasis>. provide time zone information for <emphasis>output</emphasis>, however.
<table tocentry="1"> <table tocentry="1">
<title><productname>Postgres</productname> Recognized Time Zones</title> <title><productname>Postgres</productname> Recognized Time Zones</title>
@ -45,7 +45,7 @@ Date/time details
<row> <row>
<entry>NZST</entry> <entry>NZST</entry>
<entry>+12:00</entry> <entry>+12:00</entry>
<entry>New Zealand Std Time</entry> <entry>New Zealand Standard Time</entry>
</row> </row>
<row> <row>
<entry>NZT</entry> <entry>NZT</entry>
@ -55,12 +55,12 @@ Date/time details
<row> <row>
<entry>AESST</entry> <entry>AESST</entry>
<entry>+11:00 </entry> <entry>+11:00 </entry>
<entry>Australia Eastern Summer Std Time</entry> <entry>Australia Eastern Summer Standard Time</entry>
</row> </row>
<row> <row>
<entry>ACSST</entry> <entry>ACSST</entry>
<entry>+10:30 </entry> <entry>+10:30 </entry>
<entry>Central Australia Summer Std Time</entry> <entry>Central Australia Summer Standard Time</entry>
</row> </row>
<row> <row>
<entry>CADT</entry> <entry>CADT</entry>
@ -75,17 +75,17 @@ Date/time details
<row> <row>
<entry>AEST</entry> <entry>AEST</entry>
<entry>+10:00 </entry> <entry>+10:00 </entry>
<entry>Australia Eastern Std Time</entry> <entry>Australia Eastern Standard Time</entry>
</row> </row>
<row> <row>
<entry>EAST</entry> <entry>EAST</entry>
<entry>+10:00 </entry> <entry>+10:00 </entry>
<entry>East Australian Std Time</entry> <entry>East Australian Standard Time</entry>
</row> </row>
<row> <row>
<entry>GST</entry> <entry>GST</entry>
<entry>+10:00</entry> <entry>+10:00</entry>
<entry>Guam Std Time, USSR Zone 9</entry> <entry>Guam Standard Time, USSR Zone 9</entry>
</row> </row>
<row> <row>
<entry>LIGT</entry> <entry>LIGT</entry>
@ -95,27 +95,27 @@ Date/time details
<row> <row>
<entry>ACST</entry> <entry>ACST</entry>
<entry>+09:30 </entry> <entry>+09:30 </entry>
<entry>Central Australia Std Time</entry> <entry>Central Australia Standard Time</entry>
</row> </row>
<row> <row>
<entry>SAST</entry> <entry>SAST</entry>
<entry>+09:30 </entry> <entry>+09:30 </entry>
<entry>South Australia Std Time</entry> <entry>South Australia Standard Time</entry>
</row> </row>
<row> <row>
<entry>CAST</entry> <entry>CAST</entry>
<entry>+09:30 </entry> <entry>+09:30 </entry>
<entry>Central Australia Std Time</entry> <entry>Central Australia Standard Time</entry>
</row> </row>
<row> <row>
<entry>AWSST</entry> <entry>AWSST</entry>
<entry>+9:00 </entry> <entry>+9:00 </entry>
<entry>Australia Western Summer Std Time</entry> <entry>Australia Western Summer Standard Time</entry>
</row> </row>
<row> <row>
<entry>JST</entry> <entry>JST</entry>
<entry>+9:00</entry> <entry>+9:00</entry>
<entry>Japan Std Time,USSR Zone 8</entry> <entry>Japan Standard Time,USSR Zone 8</entry>
</row> </row>
<row> <row>
<entry>KST</entry> <entry>KST</entry>
@ -135,7 +135,7 @@ Date/time details
<row> <row>
<entry>AWST</entry> <entry>AWST</entry>
<entry>+8:00 </entry> <entry>+8:00 </entry>
<entry>Australia Western Std Time</entry> <entry>Australia Western Standard Time</entry>
</row> </row>
<row> <row>
<entry>CCT</entry> <entry>CCT</entry>
@ -150,7 +150,7 @@ Date/time details
<row> <row>
<entry>WST</entry> <entry>WST</entry>
<entry>+8:00</entry> <entry>+8:00</entry>
<entry>West Australian Std Time</entry> <entry>West Australian Standard Time</entry>
</row> </row>
<row> <row>
<entry>JT</entry> <entry>JT</entry>
@ -160,7 +160,7 @@ Date/time details
<row> <row>
<entry>WAST</entry> <entry>WAST</entry>
<entry>+7:00</entry> <entry>+7:00</entry>
<entry>West Australian Std Time</entry> <entry>West Australian Standard Time</entry>
</row> </row>
<row> <row>
<entry>IT</entry> <entry>IT</entry>
@ -195,7 +195,7 @@ Date/time details
<row> <row>
<entry>IST</entry> <entry>IST</entry>
<entry>+2:00</entry> <entry>+2:00</entry>
<entry>Israel Std Time</entry> <entry>Israel Standard Time</entry>
</row> </row>
<row> <row>
<entry>MEST</entry> <entry>MEST</entry>
@ -305,7 +305,7 @@ Date/time details
<row> <row>
<entry>AST</entry> <entry>AST</entry>
<entry>-4:00 </entry> <entry>-4:00 </entry>
<entry>Atlantic Std Time (Canada)</entry> <entry>Atlantic Standard Time (Canada)</entry>
</row> </row>
<row> <row>
<entry>EDT</entry> <entry>EDT</entry>
@ -339,7 +339,7 @@ Date/time details
<row> <row>
<entry>CST</entry> <entry>CST</entry>
<entry>-6:00 </entry> <entry>-6:00 </entry>
<entry>Central Std Time</entry> <entry>Central Standard Time</entry>
</row> </row>
<row> <row>
<entry>MDT</entry> <entry>MDT</entry>
@ -366,7 +366,7 @@ Date/time details
<row> <row>
<entry>PST</entry> <entry>PST</entry>
<entry>-8:00</entry> <entry>-8:00</entry>
<entry>Pacific Std Time</entry> <entry>Pacific Standard Time</entry>
</row> </row>
<row> <row>
<entry>YDT</entry> <entry>YDT</entry>
@ -386,7 +386,7 @@ Date/time details
<row> <row>
<entry>AHST</entry> <entry>AHST</entry>
<entry>-10:00 </entry> <entry>-10:00 </entry>
<entry>Alaska-Hawaii Std Time</entry> <entry>Alaska-Hawaii Standard Time</entry>
</row> </row>
<row> <row>
<entry>CAT</entry> <entry>CAT</entry>
@ -415,17 +415,18 @@ Date/time details
Australian time zones and their naming variants Australian time zones and their naming variants
account for fully one quarter of all time zones in the account for fully one quarter of all time zones in the
<productname>Postgres</productname> time zone lookup table. <productname>Postgres</productname> 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, <literal>CST</literal> and <literal>EST</literal>. in the United States, <literal>CST</literal> and <literal>EST</literal>.
</para> </para>
<para> <para>
If the compiler option USE_AUSTRALIAN_RULES is set If the runtime option <literal>AUSTRALIAN_TIMEZONES</literal> is set
then <literal>CST</literal>, <literal>EST</literal>, and then <literal>CST</literal>, <literal>EST</literal>, and
<literal>SAT</literal> will be <literal>SAT</literal> will be
interpreted using Australian conventions. Without this option, interpreted as Australian timezone names. Without this option,
<literal>SAT</literal> is interpreted as a noise word indicating <literal>CST</literal> and <literal>EST</literal> are taken as
"<literal>Saturday</literal>". American timezone names, while <literal>SAT</literal> is interpreted as a
noise word indicating "<literal>Saturday</literal>".
<table tocentry="1"> <table tocentry="1">
<title><productname>Postgres</productname> Australian Time Zones</title> <title><productname>Postgres</productname> Australian Time Zones</title>
@ -452,7 +453,7 @@ Date/time details
<row> <row>
<entry>SAT</entry> <entry>SAT</entry>
<entry>+9:30</entry> <entry>+9:30</entry>
<entry>South Australian Std Time</entry> <entry>South Australian Standard Time</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>