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

Commit 4ff9c8d

Browse files
committed
Show psql timing output even in quiet mode
These two settings ought to be independent of each other.
1 parent 6d16902 commit 4ff9c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/common.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.146 2010/07/06 19:18:59 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.147 2010/07/28 04:39:14 petere Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "common.h"
@@ -936,7 +936,7 @@ SendQuery(const char *query)
936936
PQclear(results);
937937

938938
/* Possible microtiming output */
939-
if (OK && pset.timing && !pset.quiet)
939+
if (OK && pset.timing)
940940
printf(_("Time: %.3f ms\n"), elapsed_msec);
941941

942942
/* check for events that may occur during query execution */

0 commit comments

Comments
 (0)