]> granicus.if.org Git - postgresql/commitdiff
De-clutter display of script runtimes in pg_regress.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Feb 2019 16:16:39 +0000 (11:16 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Feb 2019 16:16:39 +0000 (11:16 -0500)
Add more whitespace, per suggestion from Peter Eisentraut.

Discussion: https://postgr.es/m/e265e2ae-e92e-5ab9-dc68-60b6cb047b3d@2ndquadrant.com

src/test/regress/pg_regress.c

index 10111ebfb913941518504b3b3700ce99477f7001..a18a6f6c45ad7b7e929a8440fe74a22dd68a90f0 100644 (file)
@@ -1807,7 +1807,7 @@ run_schedule(const char *schedule, test_function tfunc)
                                log_child_failure(statuses[i]);
 
                        INSTR_TIME_SUBTRACT(stoptimes[i], starttimes[i]);
-                       status(_(" (%.0f ms)"), INSTR_TIME_GET_MILLISEC(stoptimes[i]));
+                       status(_(" %8.0f ms"), INSTR_TIME_GET_MILLISEC(stoptimes[i]));
 
                        status_end();
                }
@@ -1887,7 +1887,7 @@ run_single_test(const char *test, test_function tfunc)
                log_child_failure(exit_status);
 
        INSTR_TIME_SUBTRACT(stoptime, starttime);
-       status(_(" (%.0f ms)"), INSTR_TIME_GET_MILLISEC(stoptime));
+       status(_(" %8.0f ms"), INSTR_TIME_GET_MILLISEC(stoptime));
 
        status_end();
 }