diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index 2e1650d0ad3..1253f1989e6 100644 --- a/src/bin/pgbench/pgbench.c +++ b/src/bin/pgbench/pgbench.c @@ -4908,7 +4908,7 @@ initPopulateTable(PGconn *con, const char *table, int64 base, initRowMethod init_row) { int n; - int k; + int64 k; int chars = 0; PGresult *res; PQExpBufferData sql;