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

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy