pgbench: remove odd trailing period in init progress output
authorBruce Momjian <[email protected]>
Wed, 24 Dec 2014 14:20:29 +0000 (09:20 -0500)
committerBruce Momjian <[email protected]>
Wed, 24 Dec 2014 14:21:09 +0000 (09:21 -0500)
contrib/pgbench/pgbench.c

index d69036a2f5c36ed034341d0386f012377d45c759..1362f44673e02d6a2270a5deaf193a7f9a6f6623 100644 (file)
@@ -2013,7 +2013,7 @@ init(bool is_no_vacuum)
            elapsed_sec = INSTR_TIME_GET_DOUBLE(diff);
            remaining_sec = ((double) scale * naccounts - j) * elapsed_sec / j;
 
-           fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s).\n",
+           fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s)\n",
                    j, (int64) naccounts * scale,
                    (int) (((int64) j * 100) / (naccounts * (int64) scale)),
                    elapsed_sec, remaining_sec);
@@ -2030,7 +2030,7 @@ init(bool is_no_vacuum)
            /* have we reached the next interval (or end)? */
            if ((j == scale * naccounts) || (elapsed_sec >= log_interval * LOG_STEP_SECONDS))
            {
-               fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s).\n",
+               fprintf(stderr, INT64_FORMAT " of " INT64_FORMAT " tuples (%d%%) done (elapsed %.2f s, remaining %.2f s)\n",
                        j, (int64) naccounts * scale,
                        (int) (((int64) j * 100) / (naccounts * (int64) scale)), elapsed_sec, remaining_sec);