]> granicus.if.org Git - postgresql/commitdiff
Fix documentation for pgbench tpcb-like.
authorThomas Munro <tmunro@postgresql.org>
Sun, 14 Jul 2019 02:19:54 +0000 (14:19 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 14 Jul 2019 02:26:22 +0000 (14:26 +1200)
We choose a random value for delta, not balance.  Back-patch to 9.6 where
the mistake arrived.

Author: Fabien Coelho
Discussion: https://postgr.es/m/alpine.DEB.2.21.1904081752210.5867@lancre

doc/src/sgml/ref/pgbench.sgml

index 33e7b17c08f89c2b50f27e8d3451396acebed4cb..9a59ba3d43c28586f4566f0e0b76e8ef29736e28 100644 (file)
@@ -704,7 +704,7 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
   <para>
    The default built-in transaction script (also invoked with <option>-b tpcb-like</>)
    issues seven commands per transaction over randomly chosen <literal>aid</>,
-   <literal>tid</>, <literal>bid</> and <literal>balance</>.
+   <literal>tid</>, <literal>bid</> and <literal>delta</>.
    The scenario is inspired by the TPC-B benchmark, but is not actually TPC-B,
    hence the name.
   </para>