Re: pgbench stats per script & other stuff - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench stats per script & other stuff
Date
Msg-id alpine.DEB.2.10.1603280920070.16239@sto
Whole thread Raw
In response to Re: pgbench stats per script & other stuff  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench stats per script & other stuff  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
> - 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.

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Draft release notes for next week's releases
Next
From: Fabien
Date:
Subject: pgbench - show weight percent