Re: Enhancing pgbench parameter checking

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Enhancing pgbench parameter checking
Дата
Msg-id alpine.DEB.2.10.1408061559390.28413@sto
обсуждение исходный текст
Ответ на Enhancing pgbench parameter checking  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: Enhancing pgbench parameter checking  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
> Included is the patch to enhance the behavior of pgbench in this regard 
> IMO. Here is a sample session after patching:
>
> $ ./pgbench -c 10 -T 300 -S -i test
> some parameters cannot be used in initialize mode

I have not tested, but the patch looks ok in principle.

I'm not sure of the variable name "is_non_init_parameter_set". I would 
suggest "benchmarking_option_set"?

Also, to be consistent, maybe it should check that no 
initialization-specific option are set when benchmarking.

-- 
Fabien.



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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: A worst case for qsort
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: add modulo (%) operator to pgbench