pgbench: Restore compatibility of --partitions=0
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pgbench/pgbench.c | modified | +1 −1 |
Discussion
- pgbench --partitions=0 6 messages · 2022-05-16 → 2022-05-18