Re: pgbench - allow to create partitioned tables

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Amit Kapila <amit.kapila16@gmail.com>, Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Asif Rehman <asifr.rehman@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2020-01-03T09:54:14Z
Lists: pgsql-hackers
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?

Personally, I think making the argument optional is unnecessary and 
confusing, so I'd just change the documentation.

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



Commits

  1. pgbench: add --partitions and --partition-method options.