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

From: Jan Wieck <JanWieck(at)Yahoo(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] add --throttle to pgbench (submission 3)
Date: 2013-06-19 18:53:31
Message-ID: 51C1FE2B.6060102@Yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2013-06-19 18:54:15 Re: Implementing incremental backup
Previous Message Fabien COELHO 2013-06-19 18:42:30 Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)