Skip to content

Commit ec96f1d

Browse files
committed
Fix some references to USE_AUSTRALIAN_RULES that Bruce missed;
plus a few trivial improvements in wording.
1 parent bf2a923 commit ec96f1d

File tree

2 files changed

+35
-33
lines changed

2 files changed

+35
-33
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.55 2001/05/22 16:37:15 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.56 2001/06/18 19:05:11 tgl Exp $
33
-->
44

55
<chapter id="datatype">
@@ -1518,8 +1518,9 @@ January 8 04:05:06 1999 PST
15181518
</listitem>
15191519
<listitem>
15201520
<para>
1521-
The PGTZ environment variable set at the client used by libpq
1522-
to send time zone information to the backend upon connection.
1521+
The PGTZ environment variable, if set at the client, is used by libpq
1522+
to send a <command>SET TIME ZONE</command> command to the backend upon
1523+
connection.
15231524
</para>
15241525
</listitem>
15251526
<listitem>
@@ -1552,9 +1553,9 @@ January 8 04:05:06 1999 PST
15521553

15531554
<note>
15541555
<para>
1555-
If the compiler option USE_AUSTRALIAN_RULES is set
1556-
then <literal>EST</literal> refers to Australia Eastern Standard Time,
1557-
which has an offset of +10:00 hours from UTC.
1556+
If the runtime option <literal>AUSTRALIAN_TIMEZONES</literal> is set
1557+
then <literal>CST</literal> and <literal>EST</literal> refer to
1558+
Australian timezones, not American ones.
15581559
</para>
15591560
</note>
15601561
</para>

doc/src/sgml/datetime.sgml

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.18 2001/05/12 22:51:34 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/datetime.sgml,v 2.19 2001/06/18 19:05:11 tgl Exp $
33
Date/time details
44
-->
55

@@ -18,7 +18,7 @@ Date/time details
1818
information for time zone decoding, since there is no *nix standard
1919
system interface to provide access to general, cross-timezone
2020
information. The underlying OS <emphasis>is</emphasis> used to
21-
provide time zone information for <emphasis>output</emphasis>.
21+
provide time zone information for <emphasis>output</emphasis>, however.
2222

2323
<table tocentry="1">
2424
<title><productname>Postgres</productname> Recognized Time Zones</title>
@@ -45,7 +45,7 @@ Date/time details
4545
<row>
4646
<entry>NZST</entry>
4747
<entry>+12:00</entry>
48-
<entry>New Zealand Std Time</entry>
48+
<entry>New Zealand Standard Time</entry>
4949
</row>
5050
<row>
5151
<entry>NZT</entry>
@@ -55,12 +55,12 @@ Date/time details
5555
<row>
5656
<entry>AESST</entry>
5757
<entry>+11:00 </entry>
58-
<entry>Australia Eastern Summer Std Time</entry>
58+
<entry>Australia Eastern Summer Standard Time</entry>
5959
</row>
6060
<row>
6161
<entry>ACSST</entry>
6262
<entry>+10:30 </entry>
63-
<entry>Central Australia Summer Std Time</entry>
63+
<entry>Central Australia Summer Standard Time</entry>
6464
</row>
6565
<row>
6666
<entry>CADT</entry>
@@ -75,17 +75,17 @@ Date/time details
7575
<row>
7676
<entry>AEST</entry>
7777
<entry>+10:00 </entry>
78-
<entry>Australia Eastern Std Time</entry>
78+
<entry>Australia Eastern Standard Time</entry>
7979
</row>
8080
<row>
8181
<entry>EAST</entry>
8282
<entry>+10:00 </entry>
83-
<entry>East Australian Std Time</entry>
83+
<entry>East Australian Standard Time</entry>
8484
</row>
8585
<row>
8686
<entry>GST</entry>
8787
<entry>+10:00</entry>
88-
<entry>Guam Std Time, USSR Zone 9</entry>
88+
<entry>Guam Standard Time, USSR Zone 9</entry>
8989
</row>
9090
<row>
9191
<entry>LIGT</entry>
@@ -95,27 +95,27 @@ Date/time details
9595
<row>
9696
<entry>ACST</entry>
9797
<entry>+09:30 </entry>
98-
<entry>Central Australia Std Time</entry>
98+
<entry>Central Australia Standard Time</entry>
9999
</row>
100100
<row>
101101
<entry>SAST</entry>
102102
<entry>+09:30 </entry>
103-
<entry>South Australia Std Time</entry>
103+
<entry>South Australia Standard Time</entry>
104104
</row>
105105
<row>
106106
<entry>CAST</entry>
107107
<entry>+09:30 </entry>
108-
<entry>Central Australia Std Time</entry>
108+
<entry>Central Australia Standard Time</entry>
109109
</row>
110110
<row>
111111
<entry>AWSST</entry>
112112
<entry>+9:00 </entry>
113-
<entry>Australia Western Summer Std Time</entry>
113+
<entry>Australia Western Summer Standard Time</entry>
114114
</row>
115115
<row>
116116
<entry>JST</entry>
117117
<entry>+9:00</entry>
118-
<entry>Japan Std Time,USSR Zone 8</entry>
118+
<entry>Japan Standard Time,USSR Zone 8</entry>
119119
</row>
120120
<row>
121121
<entry>KST</entry>
@@ -135,7 +135,7 @@ Date/time details
135135
<row>
136136
<entry>AWST</entry>
137137
<entry>+8:00 </entry>
138-
<entry>Australia Western Std Time</entry>
138+
<entry>Australia Western Standard Time</entry>
139139
</row>
140140
<row>
141141
<entry>CCT</entry>
@@ -150,7 +150,7 @@ Date/time details
150150
<row>
151151
<entry>WST</entry>
152152
<entry>+8:00</entry>
153-
<entry>West Australian Std Time</entry>
153+
<entry>West Australian Standard Time</entry>
154154
</row>
155155
<row>
156156
<entry>JT</entry>
@@ -160,7 +160,7 @@ Date/time details
160160
<row>
161161
<entry>WAST</entry>
162162
<entry>+7:00</entry>
163-
<entry>West Australian Std Time</entry>
163+
<entry>West Australian Standard Time</entry>
164164
</row>
165165
<row>
166166
<entry>IT</entry>
@@ -195,7 +195,7 @@ Date/time details
195195
<row>
196196
<entry>IST</entry>
197197
<entry>+2:00</entry>
198-
<entry>Israel Std Time</entry>
198+
<entry>Israel Standard Time</entry>
199199
</row>
200200
<row>
201201
<entry>MEST</entry>
@@ -305,7 +305,7 @@ Date/time details
305305
<row>
306306
<entry>AST</entry>
307307
<entry>-4:00 </entry>
308-
<entry>Atlantic Std Time (Canada)</entry>
308+
<entry>Atlantic Standard Time (Canada)</entry>
309309
</row>
310310
<row>
311311
<entry>EDT</entry>
@@ -339,7 +339,7 @@ Date/time details
339339
<row>
340340
<entry>CST</entry>
341341
<entry>-6:00 </entry>
342-
<entry>Central Std Time</entry>
342+
<entry>Central Standard Time</entry>
343343
</row>
344344
<row>
345345
<entry>MDT</entry>
@@ -366,7 +366,7 @@ Date/time details
366366
<row>
367367
<entry>PST</entry>
368368
<entry>-8:00</entry>
369-
<entry>Pacific Std Time</entry>
369+
<entry>Pacific Standard Time</entry>
370370
</row>
371371
<row>
372372
<entry>YDT</entry>
@@ -386,7 +386,7 @@ Date/time details
386386
<row>
387387
<entry>AHST</entry>
388388
<entry>-10:00 </entry>
389-
<entry>Alaska-Hawaii Std Time</entry>
389+
<entry>Alaska-Hawaii Standard Time</entry>
390390
</row>
391391
<row>
392392
<entry>CAT</entry>
@@ -415,17 +415,18 @@ Date/time details
415415
Australian time zones and their naming variants
416416
account for fully one quarter of all time zones in the
417417
<productname>Postgres</productname> time zone lookup table.
418-
There are two naming conflicts with common time zones defined
418+
There are two naming conflicts with time zones commonly used
419419
in the United States, <literal>CST</literal> and <literal>EST</literal>.
420420
</para>
421421

422422
<para>
423-
If the compiler option USE_AUSTRALIAN_RULES is set
423+
If the runtime option <literal>AUSTRALIAN_TIMEZONES</literal> is set
424424
then <literal>CST</literal>, <literal>EST</literal>, and
425425
<literal>SAT</literal> will be
426-
interpreted using Australian conventions. Without this option,
427-
<literal>SAT</literal> is interpreted as a noise word indicating
428-
"<literal>Saturday</literal>".
426+
interpreted as Australian timezone names. Without this option,
427+
<literal>CST</literal> and <literal>EST</literal> are taken as
428+
American timezone names, while <literal>SAT</literal> is interpreted as a
429+
noise word indicating "<literal>Saturday</literal>".
429430

430431
<table tocentry="1">
431432
<title><productname>Postgres</productname> Australian Time Zones</title>
@@ -452,7 +453,7 @@ Date/time details
452453
<row>
453454
<entry>SAT</entry>
454455
<entry>+9:30</entry>
455-
<entry>South Australian Std Time</entry>
456+
<entry>South Australian Standard Time</entry>
456457
</row>
457458
</tbody>
458459
</tgroup>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy