Re: PATCH: Add Table Access Method option to pgbench

Поиск
Список
Период
Сортировка
От Michel Pelletier
Тема Re: PATCH: Add Table Access Method option to pgbench
Дата
Msg-id CAC77N6jAgHoRx6rgib4+LMF=Y7GQFmuPZgAEPy1+Jf+9HORA8A@mail.gmail.com
обсуждение исходный текст
Ответ на PATCH: Add Table Access Method option to pgbench  (Michel Pelletier <michel@supabase.io>)
Ответы Re: PATCH: Add Table Access Method option to pgbench  (Mason Sharp <masonlists@gmail.com>)
Список pgsql-hackers
On Thu, 30 Jun 2022 at 18:09, Michael Paquier <michael@paquier.xyz> wrote:
On Fri, Jul 01, 2022 at 10:06:49AM +0900, Michael Paquier wrote:
> And the conclusion back then is that one can already achieve this by
> using PGOPTIONS:
> PGOPTIONS='-c default_table_access_method=wuzza' pgbench [...]
>
> So there is no need to complicate more pgbench, particularly when it
> comes to partitioned tables where USING is not supported.  Your patch
> touches this area of the client code to bypass the backend error.

Actually, it could be a good thing to mention that directly in the
docs of pgbench.

I've attached a documentation patch that mentions and links to the PGOPTIONS documentation per your suggestion.  I'll keep the other patch on the back burner, perhaps in the future there will be demand for a command line option as more TAMs are created.

Thanks,

-Michel
 
--
Michael
Вложения

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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: David Rowley
Дата:
Сообщение: Re: minor change for create_list_bounds()