]> granicus.if.org Git - postgresql/commitdiff
Fix imprecise documentation of random(): it never returns 1.0.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:38 +0000 (19:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:38 +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 0838ef67fb9eb4c591add0b3b61b4f80efd26cd8..bb6ae9197861f1d0b3792bd376bea7e417a3e220 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.419.2.5 2009/01/15 18:23:17 heikki Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.419.2.6 2009/08/16 19:55:38 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>