Commit 036ca6f7 authored by Peter Eisentraut's avatar Peter Eisentraut

doc: Fix typos in pgbench documentation

Author: Fabien COELHO <coelho@cri.ensmp.fr>
Reviewed-by: default avatarEdmund Horner <ejrh00@gmail.com>
parent 8716b264
...@@ -1350,7 +1350,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d ...@@ -1350,7 +1350,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
<entry><literal>1.0</literal></entry> <entry><literal>1.0</literal></entry>
</row> </row>
<row> <row>
<entry><literal><function>mod(<replaceable>i</replaceable>, <replaceable>bj</replaceable>)</function></literal></entry> <entry><literal><function>mod(<replaceable>i</replaceable>, <replaceable>j</replaceable>)</function></literal></entry>
<entry>integer</entry> <entry>integer</entry>
<entry>modulo</entry> <entry>modulo</entry>
<entry><literal>mod(54, 32)</literal></entry> <entry><literal>mod(54, 32)</literal></entry>
...@@ -1526,8 +1526,8 @@ f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) / ...@@ -1526,8 +1526,8 @@ f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) /
with each other and this is when implicit seed parameter comes in handy: with each other and this is when implicit seed parameter comes in handy:
<programlisting> <programlisting>
\set k1 abs(hash(:r), :default_seed + 123) % 1000000 \set k1 abs(hash(:r, :default_seed + 123)) % 1000000
\set k2 abs(hash(:r), :default_seed + 321) % 1000000 \set k2 abs(hash(:r, :default_seed + 321)) % 1000000
</programlisting> </programlisting>
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment