Content-Length: 275275 | pFad | http://github.com/postgrespro/postgres/commit/83bcc70459c596ceb9a90e96f011d24b88d93a85

70 pgbench: remove odd trailing period in init progress output · postgrespro/postgres@83bcc70 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/83bcc70459c596ceb9a90e96f011d24b88d93a85

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy