1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Fix missing space in EXPLAIN ANALYZE output.

Commit ddb17e387a 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
This commit is contained in:
Robert Haas
2025-02-28 13:02:03 -05:00
parent 424ededc58
commit 51d3e279c3

View File

@ -2038,7 +2038,7 @@ ExplainNode(PlanState *planstate, List *ancestors,
ExplainIndentText(es);
appendStringInfo(es->str, "actual ");
if (es->timing)
appendStringInfo(es->str, "time=%.3f..%.3f", startup_ms, total_ms);
appendStringInfo(es->str, "time=%.3f..%.3f ", startup_ms, total_ms);
appendStringInfo(es->str, "rows=%.2f loops=%.0f\n", rows, nloops);
}