Fix imprecise documentation of random(): it never returns 1.0.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:21 +0000 (19:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:21 +0000 (19:55 +0000)
This was changed in 8.2 but the documentation was not corrected.
Per gripe from Sam Mason.

doc/src/sgml/func.sgml

index b6b85c42eb4a88eef3abd707e9a9b8b87c27798c..62134e0eb4b2a00f3f94bf8f987dc0ad4ff602ab 100644 (file)
       <row>
        <entry><literal><function>random</function>()</literal></entry>
        <entry><type>dp</type></entry>
-       <entry>random value between 0.0 and 1.0, inclusive</entry>
+       <entry>random value in the range 0.0 &lt;= x &lt; 1.0</entry>
        <entry><literal>random()</literal></entry>
        <entry></entry>
       </row>