Re: [PATCH] add long options to pgbench (submission 1)

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: [PATCH] add long options to pgbench (submission 1)
Дата
Msg-id alpine.DEB.2.02.1305071111350.10071@localhost6.localdomain6
обсуждение исходный текст
Ответ на Re: [PATCH] add long options to pgbench (submission 1)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hello Robert,

>> This very minor patch adds a corresponding long option to all short 
>> (one letter) options of pgbench. [...]
>
> I don't really have an opinion on whether this is worth doing, but we'd 
> probably want to update all of our client utilities, not just pgbench, 
> if we did.

The current status is that "official" clients already have systematic long 
options. I have checked: psql, pg_dump, pg_dumpall, pg_restore, 
pg_basebackup, createdb, createuser, createlang. Possibly other commands 
in contrib do not have long option.

As for the rational, when I type interactively I tend to use short 
options, but in a script I like long options so that I may not need to 
look them up in the documentation too often when reading the script later.
The other rational is that adding long options is cheap and 
straightforward.

-- 
Fabien.



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: XLogFlush invoked about twice as much after 9.2 group commit enhancement
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Fast promotion failure