Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf90c708

Browse files
committed
Fix wrong units in two ExplainPropertyFloat calls.
This is only a latent bug, since these calls are only reached fornon-text output formats, and currently none of those will printthe units. Still, we should get it right in case that ever changes.Justin PryzbyDiscussion:https://postgr.es/m/20210415163846.GA3315@telsasoft.com
1 parent029c5ac commitf90c708

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)

[8]ページ先頭

©2009-2025 Movatter.jp