doc: Fix indentation in func-datetime.sgml.

Incorrect indentation introduced by commit faf071b553.
pull/240/head
Dean Rasheed 1 week ago
parent 9c24111c4d
commit 2bbbb2eca9
  1. 56
      doc/src/sgml/func/func-datetime.sgml

@ -935,34 +935,34 @@
</indexterm> </indexterm>
<function>random</function> ( <parameter>min</parameter> <type>date</type>, <parameter>max</parameter> <type>date</type> ) <function>random</function> ( <parameter>min</parameter> <type>date</type>, <parameter>max</parameter> <type>date</type> )
<returnvalue>date</returnvalue> <returnvalue>date</returnvalue>
</para> </para>
<para role="func_signature"> <para role="func_signature">
<function>random</function> ( <parameter>min</parameter> <type>timestamp</type>, <parameter>max</parameter> <type>timestamp</type> ) <function>random</function> ( <parameter>min</parameter> <type>timestamp</type>, <parameter>max</parameter> <type>timestamp</type> )
<returnvalue>timestamp</returnvalue> <returnvalue>timestamp</returnvalue>
</para> </para>
<para role="func_signature"> <para role="func_signature">
<function>random</function> ( <parameter>min</parameter> <type>timestamptz</type>, <parameter>max</parameter> <type>timestamptz</type> ) <function>random</function> ( <parameter>min</parameter> <type>timestamptz</type>, <parameter>max</parameter> <type>timestamptz</type> )
<returnvalue>timestamptz</returnvalue> <returnvalue>timestamptz</returnvalue>
</para> </para>
<para> <para>
Returns a random value in the range Returns a random value in the range
<parameter>min</parameter> &lt;= x &lt;= <parameter>max</parameter>. <parameter>min</parameter> &lt;= x &lt;= <parameter>max</parameter>.
</para> </para>
<para> <para>
Note that these functions use the same pseudo-random number generator Note that these functions use the same pseudo-random number generator
as the functions listed in <xref linkend="functions-math-random-table"/>, as the functions listed in <xref linkend="functions-math-random-table"/>,
and respond in the same way to calling and respond in the same way to calling
<link linkend="function-setseed"><function>setseed()</function></link>. <link linkend="function-setseed"><function>setseed()</function></link>.
</para> </para>
<para> <para>
<literal>random('1979-02-08'::date,'2025-07-03'::date)</literal> <literal>random('1979-02-08'::date,'2025-07-03'::date)</literal>
<returnvalue>1983-04-21</returnvalue> <returnvalue>1983-04-21</returnvalue>
</para> </para>
<para> <para>
<literal>random('2000-01-01'::timestamptz, now())</literal> <literal>random('2000-01-01'::timestamptz, now())</literal>
<returnvalue>2015-09-27 09:11:33.732707+00</returnvalue> <returnvalue>2015-09-27 09:11:33.732707+00</returnvalue>
</para></entry> </para></entry>
</row> </row>
<row> <row>
<entry role="func_table_entry"><para role="func_signature"> <entry role="func_table_entry"><para role="func_signature">

Loading…
Cancel
Save