From: Tom Lane Date: Sun, 16 Aug 2009 19:55:21 +0000 (+0000) Subject: Fix imprecise documentation of random(): it never returns 1.0. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=cec33141f6f85ffaf901fe6b7ebbdb50b0b1bc74;p=users%2Fsimon%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 b6b85c42eb..62134e0eb4 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -821,7 +821,7 @@ random() dp - random value between 0.0 and 1.0, inclusive + random value in the range 0.0 <= x < 1.0 random()