mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Show psql timing output even in quiet mode
These two settings ought to be independent of each other.
This commit is contained in:
parent
6d16902eda
commit
4ff9c8dd48
@ -3,7 +3,7 @@
|
||||
*
|
||||
* 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 "common.h"
|
||||
@ -936,7 +936,7 @@ SendQuery(const char *query)
|
||||
PQclear(results);
|
||||
|
||||
/* Possible microtiming output */
|
||||
if (OK && pset.timing && !pset.quiet)
|
||||
if (OK && pset.timing)
|
||||
printf(_("Time: %.3f ms\n"), elapsed_msec);
|
||||
|
||||
/* check for events that may occur during query execution */
|
||||
|
Loading…
Reference in New Issue
Block a user