From: Tom Lane Date: Sun, 16 Aug 2009 19:55:38 +0000 (+0000) Subject: Fix imprecise documentation of random(): it never returns 1.0. X-Git-Tag: REL8_3_8~12 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=2792c59a82dcaa2ef13a886031231381bf1980dd;p=users%2Fc2main%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 0838ef67fb..bb6ae91978 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -804,7 +804,7 @@ random() dp - random value between 0.0 and 1.0 + random value in the range 0.0 <= x < 1.0 random()