summaryrefslogtreecommitdiff
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 30a59afcce5..6f5bd994a09 100644
--- a/src/bin/pgbench/pgbench.c
+++ b/src/bin/pgbench/pgbench.c
@@ -3646,7 +3646,7 @@ threadRun(void *arg)
}
/* also wake up to print the next progress report on time */
- if (progress && min_usec > 0)
+ if (progress && min_usec > 0 && thread->tid == 0)
{
/* get current time if needed */
if (now_usec == 0)