Re: [PATCH] add --throttle to pgbench (submission 3)

Jan Wieck <janwieck@yahoo.com>

From: Jan Wieck <JanWieck@Yahoo.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2013-06-19T18:53:31Z
Lists: pgsql-hackers
On 06/19/13 14:34, Fabien COELHO wrote:
> 
>>> The use case of the option is to be able to generate a continuous gentle
>>> load for functional tests, eg in a practice session with students or for
>>> testing features on a laptop.
>>
>> Why does this need two option formats (-H and --throttle)?
> 
> On the latest version it is --rate and -R.
> 
> Because you may want to put something very readable and understandable in 
> a script and like long options, or have to type it interactively every day 
> in a terminal and like short ones. Most UNIX commands include both kind.
> 

Would it make sense then to add long versions for all the other standard
options too?


Jan

-- 
Anyone who trades liberty for security deserves neither
liberty nor security. -- Benjamin Franklin