Re: pgbench stats per script & other stuff

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2015-12-16T10:33:09Z
Lists: pgsql-hackers
>>> It seems also that it would be a good idea to split the patch into two
>>> parts:
>>> 1) Refactor the code so as the existing test scripts are put under the
>>> same umbrella with addScript, adding at the same time the new option
>>> -b.
>>> 2) Add the weight facility and its related statistics.
>>
>> Sigh. The patch & documentation are probably not independent, so that would
>> make two dependent patches, probably.
>
> I am not really saying so, it seems just that doing the refactoring
> (with its related docs), and then add the extension for the weight
> (with its docs) is more natural than doing both things at the same
> time.

Ok. I can separate the refactoring (scripts & stats) and the weight stuff 
on top of the refactoring.

-- 
Fabien.


Commits

  1. pgbench: Allow changing weights for scripts