aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-16 19:55:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-16 19:55:38 +0000
commit2792c59a82dcaa2ef13a886031231381bf1980dd (patch)
treefa56d48defcd929f33349fe0f06a35ab9458ec0c
parent51bc461d59ea10b33528d4614648ed8da9bafef3 (diff)
downloadpostgresql-2792c59a82dcaa2ef13a886031231381bf1980dd.tar.gz
postgresql-2792c59a82dcaa2ef13a886031231381bf1980dd.zip
Fix imprecise documentation of random(): it never returns 1.0.
This was changed in 8.2 but the documentation was not corrected. Per gripe from Sam Mason.
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 0838ef67fb9..bb6ae919786 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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>
@@ -804,7 +804,7 @@
<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>