Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 22347dc

Browse files
committed
Make psql \timing show three digits.
1 parent eceff4c commit 22347dc

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
return success;
556556
}

0 commit comments

Comments
 (0)