projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1128f93
)
Fix imprecise documentation of random(): it never returns 1.0.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:21 +0000
(19:55 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 16 Aug 2009 19:55:21 +0000
(19:55 +0000)
This was changed in 8.2 but the documentation was not corrected.
Per gripe from Sam Mason.
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index b6b85c42eb4a88eef3abd707e9a9b8b87c27798c..62134e0eb4b2a00f3f94bf8f987dc0ad4ff602ab 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-821,7
+821,7
@@
<row>
<entry><literal><function>random</function>()</literal></entry>
<entry><type>dp</type></entry>
- <entry>random value
between 0.0 and 1.0, inclusive
</entry>
+ <entry>random value
in the range 0.0 <= x < 1.0
</entry>
<entry><literal>random()</literal></entry>
<entry></entry>
</row>