aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-16 19:55:21 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-16 19:55:21 +0000
commit26a90c654f19263449a70e24a3a7bc3df1908121 (patch)
tree7281a157c4b3bef0c14b228fdf986547883904ed
parent785cfee0313fb04713d11b23413abf9a61c89a6f (diff)
downloadpostgresql-26a90c654f19263449a70e24a3a7bc3df1908121.tar.gz
postgresql-26a90c654f19263449a70e24a3a7bc3df1908121.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 545ab495058..29d821e01a2 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.486 2009/08/10 18:29:26 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.487 2009/08/16 19:55:21 tgl Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@@ -821,7 +821,7 @@
<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>