Re: Add table access method as an option to pgbench

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add table access method as an option to pgbench
Дата
Msg-id YAJsfyvqGkqrd7C7@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add table access method as an option to pgbench  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Fri, Jan 15, 2021 at 01:22:45PM -0800, Andres Freund wrote:
> I think that objection is right. All that's needed to change this from
> the client side is to do something like
> PGOPTIONS='-c default_table_access_method=foo' pgbench ...
>
> I don't think adding pgbench options for individual GUCs really is a
> useful exercise?

Yeah.  Looking at the latest patch, it just uses SET
default_table_access_method to achieve its goal and to bypass the fact
that partitions don't support directly the AM clause.  So I agree to
mark this patch as rejected and move on.  One thing that looks like an
issue to me is that PGOPTIONS is not listed in the section for
environment variables on the docs of pgbench.  5aaa584 has plugged in
a lot of holes, but things could be improved more, for more clients,
where it makes sense of course.
--
Michael

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Key management with tests
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Wrong usage of RelationNeedsWAL