Re: pgbench stats per script & other stuff

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, Josh Berkus <josh@agliodbs.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2015-09-03T17:36:15Z
Lists: pgsql-hackers
>> I've left out:
>>  - removing -N/-S upward compatibility shorthands
>>    but I will not cry if they are removed
>
> I see no particular merit to breaking backward compatibility here.

I agree, but I would not fight for this. I think there is a good argument 
*NOT* to add more if new builtin scripts are added later.

Currently the builtin script can be selected with "-b t" (t for tcpb-like), 
"-b s" (s for simple-update) and "-b se" (se for select-only).

I've reused their current names for the option selector, and it takes the 
first matching prefix.

-- 
Fabien.


Commits

  1. pgbench: Allow changing weights for scripts