Skip to content

Commit 83bcc70

Browse files
committed
pgbench: remove odd trailing period in init progress output
1 parent 3b6ca12 commit 83bcc70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pgbench/pgbench.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,7 +2013,7 @@ init(bool is_no_vacuum)
20132013
elapsed_sec = INSTR_TIME_GET_DOUBLE(diff);
20142014
remaining_sec = ((double) scale * naccounts - j) * elapsed_sec / j;
20152015

2016-
fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s).\n",
2016+
fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s)\n",
20172017
j, (int64) naccounts * scale,
20182018
(int) (((int64) j * 100) / (naccounts * (int64) scale)),
20192019
elapsed_sec, remaining_sec);
@@ -2030,7 +2030,7 @@ init(bool is_no_vacuum)
20302030
/* have we reached the next interval (or end)? */
20312031
if ((j == scale * naccounts) || (elapsed_sec >= log_interval * LOG_STEP_SECONDS))
20322032
{
2033-
fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s).\n",
2033+
fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s)\n",
20342034
j, (int64) naccounts * scale,
20352035
(int) (((int64) j * 100) / (naccounts * (int64) scale)), elapsed_sec, remaining_sec);
20362036

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy