projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c9210f
)
Doc: fix typo in pgbench random_zipfian() documentation.
author
Tom Lane
Fri, 24 May 2019 15:16:06 +0000
(11:16 -0400)
committer
Tom Lane
Fri, 24 May 2019 15:16:06 +0000
(11:16 -0400)
Per bug #15819 from Koizumi Satoru.
Discussion: https://postgr.es/m/15819-
e6191bef1f7334c0
@postgresql.org
doc/src/sgml/ref/pgbench.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/pgbench.sgml
b/doc/src/sgml/ref/pgbench.sgml
index ef22a484e71a72c8da6c658e8b423a584f12d9ed..e3b73a4cf51d73a8cd0202532b44e0050a727b6c 100644
(file)
--- a/
doc/src/sgml/ref/pgbench.sgml
+++ b/
doc/src/sgml/ref/pgbench.sgml
@@
-1561,7
+1561,7
@@
f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) /
For example,
random_zipfian(1, ..., 2.5)
produces
the value
1
about
(2/1)**2.5 =
5.66 times more frequently than
2
, which
- itself is produced
(3/2)*2.5 = 2.76
times more
+ itself is produced
(3/2)*
*
2.5 = 2.76
times more
frequently than
3
, and so on.