pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgbench: Restore compatibility of --partitions=0
Date: Wed, 18 May 2022 00:49:00 +0000
Message-ID: <E1nr7s4-001F6T-Ag@gemulon.postgresql.org> (raw)

pgbench: Restore compatibility of --partitions=0

A value of 0 is allowed for this option since its creation, that would
map with the default of having no partitions for pgbench_accounts, but
6f164e6 broke that by enforcing an error.  This commit restores the
original behavior.

Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqGAGobiiHR8nH382HJxqm1mzZs8=3oKPXnXivWoFSZmNA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/27f1366050c6cd8c1ea5f03b367a5a167ebf34b7

Modified Files
--------------
src/bin/pgbench/pgbench.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



Message-ID: <E1nr7s4-001F6T-Ag@gemulon.postgresql.org>
Permalink:  ../E1nr7s4-001F6T-Ag@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nr7s4-001F6T-Ag@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: pgbench: Restore compatibility of --partitions=0
  In-Reply-To: <E1nr7s4-001F6T-Ag@gemulon.postgresql.org>
  References: <E1nr7s4-001F6T-Ag@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox