11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.67 2001/10/30 20:13:44 tgl Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.68 2001/11/08 23:36:55 petere Exp $
33-->
44
55 <chapter id="datatype">
@@ -1440,17 +1440,17 @@ SELECT b, char_length(b) FROM test2;
14401440 <literal>BC</literal>, followed by an optional time zone. (See below.)
14411441 Thus
14421442
1443- <programlisting>
1443+ <programlisting>
144414441999-01-08 04:05:06
1445- </programlisting>
1445+ </programlisting>
14461446
14471447 is a valid <type>timestamp without time zone</type> value that
14481448 is <acronym>ISO</acronym>-compliant.
14491449 In addition, the wide-spread format
14501450
1451- <programlisting>
1451+ <programlisting>
14521452January 8 04:05:06 1999 PST
1453- </programlisting>
1453+ </programlisting>
14541454 is supported.
14551455 </para>
14561456
@@ -1476,16 +1476,16 @@ January 8 04:05:06 1999 PST
14761476 <literal>BC</literal>, followed by an optional time zone. (See below.)
14771477 Thus
14781478
1479- <programlisting>
1479+ <programlisting>
148014801999-01-08 04:05:06 -8:00
1481- </programlisting>
1481+ </programlisting>
14821482
14831483 is a valid <type>timestamp</type> value that is <acronym>ISO</acronym>-compliant.
14841484 In addition, the wide-spread format
14851485
1486- <programlisting>
1486+ <programlisting>
14871487January 8 04:05:06 1999 PST
1488- </programlisting>
1488+ </programlisting>
14891489 is supported.
14901490 </para>
14911491
@@ -1532,10 +1532,10 @@ January 8 04:05:06 1999 PST
15321532 <para>
15331533 <type>interval</type>s can be specified with the following syntax:
15341534
1535- <programlisting>
1535+ <programlisting>
15361536 Quantity Unit [Quantity Unit...] [Direction]
15371537@ Quantity Unit [Direction]
1538- </programlisting>
1538+ </programlisting>
15391539
15401540 where: <literal>Quantity</literal> is ..., <literal>-1</literal>,
15411541 <literal>0</literal>, <literal>1</literal>, <literal>2</literal>, ...;
@@ -1856,9 +1856,9 @@ January 8 04:05:06 1999 PST
18561856 <listitem>
18571857 <para>
18581858The <acronym>SQL92</acronym> qualifier on
1859- <programlisting>
1859+ <programlisting>
18601860<replaceable>timestamp</replaceable> AT TIME ZONE '<replaceable>zone</replaceable>'
1861- </programlisting>
1861+ </programlisting>
18621862where <replaceable>zone</replaceable> can be specified as a
18631863text time zone (e.g. <literal>'PST'</literal>) or as an
18641864interval (e.g. <literal>INTERVAL '-08:00'</literal>).
@@ -1867,7 +1867,6 @@ January 8 04:05:06 1999 PST
18671867 </itemizedlist>
18681868 </para>
18691869
1870- <para>
18711870 <note>
18721871 <para>
18731872 If an invalid time zone is specified,
@@ -1882,7 +1881,6 @@ January 8 04:05:06 1999 PST
18821881 Australian time zones, not American ones.
18831882 </para>
18841883 </note>
1885- </para>
18861884
18871885 </sect2>
18881886