Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 93b5cc0

Browse files
committed
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
1 parent af25bc0 commit 93b5cc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/regress/pg_regress.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ run_schedule(const char *schedule, test_function tfunc)
18071807
log_child_failure(statuses[i]);
18081808

18091809
INSTR_TIME_SUBTRACT(stoptimes[i], starttimes[i]);
1810-
status(_(" (%.0f ms)"), INSTR_TIME_GET_MILLISEC(stoptimes[i]));
1810+
status(_(" %8.0f ms"), INSTR_TIME_GET_MILLISEC(stoptimes[i]));
18111811

18121812
status_end();
18131813
}
@@ -1887,7 +1887,7 @@ run_single_test(const char *test, test_function tfunc)
18871887
log_child_failure(exit_status);
18881888

18891889
INSTR_TIME_SUBTRACT(stoptime, starttime);
1890-
status(_(" (%.0f ms)"), INSTR_TIME_GET_MILLISEC(stoptime));
1890+
status(_(" %8.0f ms"), INSTR_TIME_GET_MILLISEC(stoptime));
18911891

18921892
status_end();
18931893
}

0 commit comments

Comments
 (0)