Fix imprecise documentation of random(): it never returns 1.0.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:45 +0000 (19:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:45 +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 55181c311e1532b281bac649d7f12c71870f5c73..1d74b2355990f78cbcdd18ddec8b59265efeb0b0 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.8 2009/01/15 18:23:53 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.347.2.9 2009/08/16 19:55:45 tgl Exp $ -->
 
  <chapter id="functions">
   <title>Functions and Operators</title>
       <row>
        <entry><literal><function>random</function>()</literal></entry>
        <entry><type>dp</type></entry>
-       <entry>random value between 0.0 and 1.0</entry>
+       <entry>random value in the range 0.0 &lt;= x &lt; 1.0</entry>
        <entry><literal>random()</literal></entry>
        <entry></entry>
       </row>