Re: Unfortunate choice of short switch name in pgbench

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Unfortunate choice of short switch name in pgbench
Дата
Msg-id alpine.DEB.2.10.1402271621550.24661@sto
обсуждение исходный текст
Ответ на Re: Unfortunate choice of short switch name in pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Unfortunate choice of short switch name in pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>>> ISTM that this is an unfortunate but unlikely mistake, as "-p" is
>>> used in all postgresql commands to signify the port number (psql,
>>> pg_dump, pg_basebackup, createdb, ...).
>
>> Plus other tools already use -P for progress, such as rsync.
>
> 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?

If you really fell you must remove -P, please replace it by another 
one-letter, I use this option nearly everytime a run pgbench.

-- 
Fabien.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GiST support for inet datatypes
Следующее
От: David E. Wheeler
Дата:
Сообщение: Re: jsonb and nested hstore