Re: PATCH: Add Table Access Method option to pgbench

From: Alexander Korotkov <aekorotkov(at)gmail(dot)com>
To: Mason Sharp <masonlists(at)gmail(dot)com>
Cc: Michel Pelletier <michel(at)supabase(dot)io>, Michael Paquier <michael(at)paquier(dot)xyz>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PATCH: Add Table Access Method option to pgbench
Date: 2022-07-18 10:53:21
Message-ID: CAPpHfdt6axxe9QO1khiP8zExig-VAw3Ks0B4syD_=6XA-fztTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 18, 2022 at 12:08 AM Mason Sharp <masonlists(at)gmail(dot)com> wrote:
> On Wed, Jul 13, 2022 at 12:33 AM Michel Pelletier <michel(at)supabase(dot)io> wrote:
>>
>> On Thu, 30 Jun 2022 at 18:09, Michael Paquier <michael(at)paquier(dot)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.
>>>
>>>
>
> The documentation change looks good to me

Looks good to me as well. I'm going to push this if no objections.

------
Regards,
Alexander Korotkov

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2022-07-18 10:53:23 Re: Transparent column encryption
Previous Message Alvaro Herrera 2022-07-18 09:53:04 Re: [Commitfest 2022-07] Begins Now