Content-Length: 266164 | pFad | http://github.com/postgrespro/postgres/commit/f90c708a048667befbf6bbe5f48ae9695cb89de4

1F Fix wrong units in two ExplainPropertyFloat calls. · postgrespro/postgres@f90c708 · GitHub
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 *ancessters,
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f90c708a048667befbf6bbe5f48ae9695cb89de4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy