Commit 4ff9c8dd authored by Peter Eisentraut's avatar Peter Eisentraut

Show psql timing output even in quiet mode

These two settings ought to be independent of each other.
parent 6d16902e
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright (c) 2000-2010, PostgreSQL Global Development Group * Copyright (c) 2000-2010, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.146 2010/07/06 19:18:59 momjian Exp $ * $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.147 2010/07/28 04:39:14 petere Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "common.h" #include "common.h"
...@@ -936,7 +936,7 @@ SendQuery(const char *query) ...@@ -936,7 +936,7 @@ SendQuery(const char *query)
PQclear(results); PQclear(results);
/* Possible microtiming output */ /* Possible microtiming output */
if (OK && pset.timing && !pset.quiet) if (OK && pset.timing)
printf(_("Time: %.3f ms\n"), elapsed_msec); printf(_("Time: %.3f ms\n"), elapsed_msec);
/* check for events that may occur during query execution */ /* check for events that may occur during query execution */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment