Re: pgbench stats per script & other stuff
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2016-03-28T07:32:59Z
Lists: pgsql-hackers
Attachments
- pgbench-zero-weight-2.patch (text/x-diff) patch
> - that it does work:-) I'm not sure what happens by the script selection > process, it should be checked carefully because it was not designed > with allowing a zero weight, and it may depend on its/their positions. > It may already work, but it really needs checking. Hmmm, it seems ok. Attached is an updated patch, which: > - I would suggest that a warning is shown when a weight is zero, > something like "warning, script #%d weight is zero, will be ignored". includes such a warning. > - the documentation should be updated:-) adds a line about 0 weight in the documentation. -- Fabien.
Commits
-
pgbench: Allow changing weights for scripts
- 7bafffea647e 9.6.0 landed