diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-16 19:55:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-08-16 19:55:28 +0000 |
commit | 55ea948feb890b193754f3423b41c6929e571208 (patch) | |
tree | 7af2aaf47df5fdeb35315a1a9928d4ef01a2f129 | |
parent | ef75f74f4c6063e6feba503510d3cdb4c24992eb (diff) |
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.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index cbadf0f99a1..5b363d705b2 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.482 2009/06/17 21:58:49 tgl Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.482.2.1 2009/08/16 19:55:28 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 <= x < 1.0</entry> <entry><literal>random()</literal></entry> <entry></entry> </row> |