From 26a90c654f19263449a70e24a3a7bc3df1908121 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 16 Aug 2009 19:55:21 +0000 Subject: [PATCH] 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. --- doc/src/sgml/func.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 545ab49505..29d821e01a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -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()