pgbench minor doc typo
Alik Khilazhev is submitting a patch about a zipfian random function
for pgbench, and noticed a typo in the documentation about
random_exponential.
Attached is a fix extracted from his patch submission, which could be
applied to head/10/9.6.
--
Fabien.
Attachments:
pgbench-doc-exp-1.patchtext/x-diff; charset=us-ascii; name=pgbench-doc-exp-1.patchDownload
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index 64b043b..03e1212 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -1045,7 +1045,7 @@ f(x) = exp(-parameter * (x - min) / (max - min + 1)) / (1 - exp(-parameter))
</literallayout>
Then value <replaceable>i</> between <replaceable>min</> and
<replaceable>max</> inclusive is drawn with probability:
- <literal>f(x) - f(x + 1)</>.
+ <literal>f(i) - f(i + 1)</>.
</para>
<para>
On 7/19/17 16:42, Fabien COELHO wrote:
Alik Khilazhev is submitting a patch about a zipfian random function
for pgbench, and noticed a typo in the documentation about
random_exponential.Attached is a fix extracted from his patch submission, which could be
applied to head/10/9.6.
done
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Alik Khilazhev is submitting a patch about a zipfian random function
for pgbench, and noticed a typo in the documentation about
random_exponential.Attached is a fix extracted from his patch submission, which could be
applied to head/10/9.6.done
Ok, thanks.
--
Fabien.
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers