diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index 059c5b7859..a3b37e9bdc 100644 --- a/contrib/pgbench/pgbench.c +++ b/contrib/pgbench/pgbench.c @@ -3077,7 +3077,7 @@ threadRun(void *arg) /* generate and show report */ int64 count = 0; int64 run = now - last_report; - float tps, total_run, latency; + double tps, total_run, latency; for (i = 0 ; i < nstate ; i++) count += state[i].cnt; @@ -3107,7 +3107,7 @@ threadRun(void *arg) /* generate and show report */ int64 count = 0; int64 run = now - last_report; - float tps, total_run, latency; + double tps, total_run, latency; for (i = 0 ; i < progress_nclients ; i++) count += state[i].cnt;