aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/pgbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c
index 79c0cd374d3..fbb74bdc4c4 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -6865,7 +6865,7 @@ main(int argc, char **argv)
break;
case 11: /* partitions */
initialization_option_set = true;
- if (!option_parse_int(optarg, "--partitions", 1, INT_MAX,
+ if (!option_parse_int(optarg, "--partitions", 0, INT_MAX,
&partitions))
exit(1);
break;