11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.261 2005/06/28 05:08:50 tgl Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.262 2005/06/29 01:52:56 momjian Exp $
33PostgreSQL documentation
44-->
55
@@ -5786,15 +5786,6 @@ SELECT LOCALTIMESTAMP;
57865786 <function>CURRENT_TIMESTAMP</function>.
57875787 </para>
57885788
5789- <para>
5790- There is also the function <function>timeofday()</function>, which for historical
5791- reasons returns a <type>text</type> string rather than a <type>timestamp</type> value:
5792- <screen>
5793- SELECT timeofday();
5794- <lineannotation>Result: </lineannotation><computeroutput>Sat Feb 17 19:07:32.000126 2001 EST</computeroutput>
5795- </screen>
5796- </para>
5797-
57985789 <para>
57995790 It is important to know that
58005791 <function>CURRENT_TIMESTAMP</function> and related functions return
@@ -5803,8 +5794,7 @@ SELECT timeofday();
58035794 the intent is to allow a single transaction to have a consistent
58045795 notion of the <quote>current</quote> time, so that multiple
58055796 modifications within the same transaction bear the same
5806- time stamp. <function>timeofday()</function>
5807- returns the wall-clock time and does advance during transactions.
5797+ time stamp.
58085798 </para>
58095799
58105800 <note>
@@ -5814,6 +5804,18 @@ SELECT timeofday();
58145804 </para>
58155805 </note>
58165806
5807+ <para>
5808+ There is also the function <function>timeofday()</function> which
5809+ returns the wall-clock time and advances during transactions. For
5810+ historical reasons <function>timeofday()</function> returns a
5811+ <type>text</type> string rather than a <type>timestamp</type>
5812+ value:
5813+ <screen>
5814+ SELECT timeofday();
5815+ <lineannotation>Result: </lineannotation><computeroutput>Sat Feb 17 19:07:32.000126 2001 EST</computeroutput>
5816+ </screen>
5817+ </para>
5818+
58175819 <para>
58185820 All the date/time data types also accept the special literal value
58195821 <literal>now</literal> to specify the current date and time. Thus,