diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-02-18 11:16:39 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-02-18 11:16:39 -0500 |
commit | 93b5cc039e2328b7ac256de57a25c810d50a7f29 (patch) | |
tree | 2a7dea2e140dae42c7dcf9f250ab3a2b6587bc46 /src | |
parent | af25bc03e17eb0aba195e42506b1a15f47178e44 (diff) | |
download | postgresql-93b5cc039e2328b7ac256de57a25c810d50a7f29.tar.gz postgresql-93b5cc039e2328b7ac256de57a25c810d50a7f29.zip |
De-clutter display of script runtimes in pg_regress.
Add more whitespace, per suggestion from Peter Eisentraut.
Discussion: https://postgr.es/m/e265e2ae-e92e-5ab9-dc68-60b6cb047b3d@2ndquadrant.com
Diffstat (limited to 'src')
-rw-r--r-- | src/test/regress/pg_regress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 10111ebfb91..a18a6f6c45a 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -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(); } |