Skip to content

Commit 51d3e27

Browse files
committed
Fix missing space in EXPLAIN ANALYZE output.
Commit ddb17e3 introduced this regression. Ideally, the regression tests would have caught this mistake, but apparently they don't test with timing enabled, presumably because that would make the output vary. Author: Thom Brown <thom@linux.com> Reviewed-by: Fabrízio de Royes Mello <fabriziomello@gmail.com> Discussion: http://postgr.es/m/CAA-aLv6nq=UeiyvM7_Mxgo9TVBzs2oh46b9vfyLzuyVEz3j1-g@mail.gmail.com
1 parent 424eded commit 51d3e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/explain.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2038,7 +2038,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
20382038
ExplainIndentText(es);
20392039
appendStringInfo(es->str, "actual ");
20402040
if (es->timing)
2041-
appendStringInfo(es->str, "time=%.3f..%.3f", startup_ms, total_ms);
2041+
appendStringInfo(es->str, "time=%.3f..%.3f ", startup_ms, total_ms);
20422042

20432043
appendStringInfo(es->str, "rows=%.2f loops=%.0f\n", rows, nloops);
20442044
}

0 commit comments

Comments
 (0)