Skip to content

Commit f90c708

Browse files
committed
Fix wrong units in two ExplainPropertyFloat calls.
This is only a latent bug, since these calls are only reached for non-text output formats, and currently none of those will print the units. Still, we should get it right in case that ever changes. Justin Pryzby Discussion: https://postgr.es/m/[email protected]
1 parent 029c5ac commit f90c708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/explain.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1631,9 +1631,9 @@ ExplainNode(PlanState *planstate, List *ancestors,
16311631
{
16321632
if (es->timing)
16331633
{
1634-
ExplainPropertyFloat("Actual Startup Time", "s", startup_ms,
1634+
ExplainPropertyFloat("Actual Startup Time", "ms", startup_ms,
16351635
3, es);
1636-
ExplainPropertyFloat("Actual Total Time", "s", total_ms,
1636+
ExplainPropertyFloat("Actual Total Time", "ms", total_ms,
16371637
3, es);
16381638
}
16391639
ExplainPropertyFloat("Actual Rows", NULL, rows, 0, es);

0 commit comments

Comments
 (0)