From 0d1cbe24035d78d9cd4213cf19b1bbb976dc97f6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 16 Aug 2009 19:55:45 +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 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()