1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Fix documentation for pgbench tpcb-like.

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
This commit is contained in:
Thomas Munro
2019-07-14 14:19:54 +12:00
parent 4fea343493
commit 15f2f2759e

View 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>