Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 036ca6f

Browse files
committed
doc: Fix typos in pgbench documentation
Author: Fabien COELHO <coelho@cri.ensmp.fr> Reviewed-by: Edmund Horner <ejrh00@gmail.com>
1 parent 8716b26 commit 036ca6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/ref/pgbench.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
13501350
<entry><literal>1.0</literal></entry>
13511351
</row>
13521352
<row>
1353-
<entry><literal><function>mod(<replaceable>i</replaceable>, <replaceable>bj</replaceable>)</function></literal></entry>
1353+
<entry><literal><function>mod(<replaceable>i</replaceable>, <replaceable>j</replaceable>)</function></literal></entry>
13541354
<entry>integer</entry>
13551355
<entry>modulo</entry>
13561356
<entry><literal>mod(54, 32)</literal></entry>
@@ -1526,8 +1526,8 @@ f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) /
15261526
with each other and this is when implicit seed parameter comes in handy:
15271527

15281528
<programlisting>
1529-
\set k1 abs(hash(:r), :default_seed + 123) % 1000000
1530-
\set k2 abs(hash(:r), :default_seed + 321) % 1000000
1529+
\set k1 abs(hash(:r, :default_seed + 123)) % 1000000
1530+
\set k2 abs(hash(:r, :default_seed + 321)) % 1000000
15311531
</programlisting>
15321532
</para>
15331533

0 commit comments

Comments
 (0)