Re: pgbench - allow to create partitioned tables - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pgbench - allow to create partitioned tables
Date
Msg-id 84ec8902-4963-948c-452c-b9e2019894f3@2ndquadrant.com
Whole thread Raw
In response to Re: pgbench - allow to create partitioned tables  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: pgbench - allow to create partitioned tables  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On 2020-01-03 11:04, Amit Kapila wrote:
> On Fri, Jan 3, 2020 at 3:24 PM Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>>
>> The documentation and pgbench --help output that accompanied this patch
>> claims that the argument to pgbench --partition-method is optional and
>> defaults to "range", but that is not actually the case, as the
>> implementation requires an argument.  Could you please sort this out?
>>
> 
> AFAICS, if the user omits this argument, then the default is range as
> specified in docs.  I tried by using something like 'pgbench.exe -i -s
> 1 --partitions=2 postgres' and then run 'pgbench -S postgres'.

Ah, the way I interpreted this is that the argument to 
--partition-method itself is optional.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: pgbench - allow to create partitioned tables
Next
From: Peter Eisentraut
Date:
Subject: Re: pgbench - use pg logging capabilities