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

Commit22347dc

Browse files
committed
Make psql \timing show three digits.
1 parenteceff4c commit22347dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.74 2003/09/16 17:59:02 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.75 2003/10/05 22:36:00 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"common.h"
@@ -550,7 +550,7 @@ PrintQueryResults(PGresult *results,
550550

551551
/* Possible microtiming output */
552552
if (pset.timing&&success)
553-
printf(gettext("Time: %.2f ms\n"),DIFF_MSEC(after,before));
553+
printf(gettext("Time: %.3f ms\n"),DIFF_MSEC(after,before));
554554

555555
returnsuccess;
556556
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp