From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Unfortunate choice of short switch name in pgbench |
Date: | 2014-02-27 17:39:28 |
Message-ID: | 2618.1393522768@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
>> Yeah, but they don't make -P take an integer argument. It's that
>> little frammish that makes this problem significant.
> I do not see a strong case to make options with arguments case insensitive
> as a general rule. If this is done for -p/-P, why not -t/-T?
I have not proposed fooling with -t/-T; people are used to that one,
and it's a core part of what pgbench does, so it's reasonable to expect
that people are familiar with it. It helps also that -t and -T do
somewhat related things, ie constrain the length of the test --- so even
if you pick the wrong one, you still get behavior that's somewhat sane.
> If you really fell you must remove -P, please replace it by another
> one-letter, I use this option nearly everytime a run pgbench.
Meh. If I thought -P would be that popular, I'd expect people to get
used to the issue. I don't believe it though.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Fabien COELHO | 2014-02-27 17:53:23 | pgbench help message fix |
Previous Message | David E. Wheeler | 2014-02-27 17:37:46 | Re: jsonb and nested hstore |