Commit f4710020 authored by Peter Eisentraut's avatar Peter Eisentraut

Repair markup

parent 63edc5c4
...@@ -966,14 +966,15 @@ ...@@ -966,14 +966,15 @@
<listitem> <listitem>
<para> <para>
<literal>YYYY</literal> conversion from string to timestamp or <literal>YYYY</literal> conversion from string to timestamp or
date is limited if you use year great than 4-digits. You must date is limited if you use a year longer than 4-digits. You must
use after <literal>YYYY</literal> some non-digit char or template use some non-digit character or template after <literal>YYYY</literal>,
else year is always interpreted as 4-digits. For example (with year otherwise the year is always interpreted as 4-digits. For example
20000): (with year 20000):
<literal> to_date('200001131', 'YYYYMMDD') <literal> will bad <literal>to_date('200001131', 'YYYYMMDD')</literal> will be
interpreded as 4-digits year, right is use after year non-digit interpreted as a 4-digit year, better is to use a non-digit
separator <literal> to_date('20000-1131', 'YYYY-MMDD')<literal> or separator after the year, like
<literal> to_date('20000Nov31', 'YYYYMonDD')<literal>. <literal>to_date('20000-1131', 'YYYY-MMDD')</literal> or
<literal>to_date('20000Nov31', 'YYYYMonDD')</literal>.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
......
<!-- reference.sgml <!-- reference.sgml
$Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.9 2000/11/24 17:44:22 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.10 2000/11/25 13:20:05 petere Exp $
PostgreSQL Reference Manual PostgreSQL Reference Manual
--> -->
...@@ -88,7 +88,6 @@ PostgreSQL Reference Manual ...@@ -88,7 +88,6 @@ PostgreSQL Reference Manual
&selectInto; &selectInto;
&set; &set;
&setConstraints; &setConstraints;
&setSession;
&setTransaction; &setTransaction;
&show; &show;
&truncate; &truncate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment