]> 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:23:56 +0000 (14:23 +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 13ef168f3e807f9153357a442823e764651dc160..09af9f1a7dcbfa87865ae612cdaf6ecb7316bc2f 100644 (file)
@@ -843,7 +843,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
   <para>
    The default built-in transaction script (also invoked with <option>-b tpcb-like</option>)
    issues seven commands per transaction over randomly chosen <literal>aid</literal>,
-   <literal>tid</literal>, <literal>bid</literal> and <literal>balance</literal>.
+   <literal>tid</literal>, <literal>bid</literal> and <literal>delta</literal>.
    The scenario is inspired by the TPC-B benchmark, but is not actually TPC-B,
    hence the name.
   </para>