Re: pgbench -f and vacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgbench -f and vacuum
Дата
Msg-id 3794.1418485164@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgbench -f and vacuum  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: pgbench -f and vacuum  (David Rowley <dgrowleyml@gmail.com>)
Re: pgbench -f and vacuum  (Robert Haas <robertmhaas@gmail.com>)
Re: pgbench -f and vacuum  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> Currently pgbench -f (run custom script) executes vacuum against
> pgbench_* tables before stating bench marking if -n (or --no-vacuum)
> is not specified. If those tables do not exist, pgbench fails. To
> prevent this, -n must be specified. For me this behavior seems insane
> because "-f" does not necessarily suppose the existence of the
> pgbench_* tables.  Attached patch prevents pgbench from exiting even
> if those tables do not exist.

I don't particularly care for this approach.  I think if we want to
do something about this, we should just make -f imply -n.  Although
really, given the lack of complaints so far, it seems like people
manage to deal with this state of affairs just fine.  Do we really
need to do anything?
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.4rc bug in percentile_cont
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: split builtins.h to quote.h