Re: pgbench -f and vacuum

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgbench -f and vacuum
Дата
Msg-id CAB7nPqQDtC6y88-N+6meKXD_vrY+=fvWu8xjEujw72nUQBG-EQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgbench -f and vacuum  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: pgbench -f and vacuum  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On Mon, Feb 9, 2015 at 2:54 PM, Tatsuo Ishii wrote:
> Agreed. Here is the patch to implement the idea: -f just implies -n.

Some small comments:
- is_no_vacuum, as well as is_init_mode, are defined as an integers
but their use imply that they are boolean switches. This patch sets
is_no_vacuum to true, while the rest of the code actually increment
its value when -n is used. Why not simply changing both flags as
booleans? My suggestion is not really related to this patch and purely
cosmetic but we could change things at the same time, or update your
patch to increment to is_no_vacuum++ when -f is used.
- The documentation misses some markups for pgbench and VACUUM and did
not respect the 80-character limit.
Attached is an updated patch with those things changed.
Regards,
--
Michael

Вложения

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

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: Odd behavior of updatable security barrier views on foreign tables
Следующее
От: Noah Misch
Дата:
Сообщение: Re: RangeType internal use