| From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: pgbench: allow a script weight of zero |
| Date: | 2016-03-29 17:49:49 |
| Message-ID: | E1akxm1-0005pu-D0@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pgbench: allow a script weight of zero
This refines the previous weight range and allows a script to be "turned
off" by passing a zero weight, which is useful when scripting multiple
pgbench runs.
I did not apply the suggested warning when a script uses zero weight; we
use the principle elsewhere that if there's nothing to be done, do
nothing quietly.
Adjust docs accordingly.
Author: Jeff Janes, Fabien Coelho
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/a1c935d3b71e44ba36530d47c3ccab6cc9b9eafe
Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 23 ++++++++++++-----------
src/bin/pgbench/pgbench.c | 13 ++++++++++---
2 files changed, 22 insertions(+), 14 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2016-03-29 17:56:50 | pgsql: Fix pgbench documentation error. |
| Previous Message | Robert Haas | 2016-03-29 16:11:59 | pgsql: pgbench: Remove \setrandom. |