Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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:25:45 +0000 (14:25 +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 01ee5546a345bf10ee755554bf791fd4e1c5b170..8ff48cac4edf82110383395dde0e735e21042ec4 100644 (file)
@@ -710,7 +710,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>