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/20210415163846.GA3315@telsasoft.com
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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy