Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit036ca6f

Browse files
committed
doc: Fix typos in pgbench documentation
Author: Fabien COELHO <coelho@cri.ensmp.fr>Reviewed-by: Edmund Horner <ejrh00@gmail.com>
1 parent8716b26 commit036ca6f

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)

[8]ページ先頭

©2009-2025 Movatter.jp