Re: pgbench -f and vacuum

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgbench -f and vacuum
Дата
Msg-id CA+TgmoZkOH6gj8y+BGaK2FNFp1GATN63z8+sqAFD7afE5Qi+ew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgbench -f and vacuum  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: pgbench -f and vacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Feb 11, 2015 at 2:00 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> But as far as what has been discussed on the central topic of this thread, I
> think that doing the vacuum and making the failure for non-existent tables
> be non-fatal when -f is provided would be an improvement.  Or maybe just
> making it non-fatal at all times--if the table is needed and not present,
> the session will fail quite soon anyway.  I don't see the other changes as
> being improvements.  I would rather just learn to add the -n when I use -f
> and don't have the default tables in place, than have to learn new methods
> for saying "no really, I left -n off on purpose" when I have a custom file
> which does use the default tables and I want them vacuumed.

So, discussion seems to have died off here.  I think what Jeff is
proposing here is a reasonable compromise.  Patch for that attached.

Objections?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: EvalPlanQual behaves oddly for FDW queries involving system columns
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: alter user/role CURRENT_USER