From: Tom Lane Date: Sun, 16 Aug 2009 19:55:45 +0000 (+0000) Subject: Fix imprecise documentation of random(): it never returns 1.0. X-Git-Tag: REL8_2_14~10 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=0d1cbe24035d78d9cd4213cf19b1bbb976dc97f6;p=users%2Fheikki%2Fpostgres.git 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. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 55181c311e..1d74b23559 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -784,7 +784,7 @@ random() dp - random value between 0.0 and 1.0 + random value in the range 0.0 <= x < 1.0 random()