mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Don't write timing output in quiet mode.
Merlin Moncure
This commit is contained in:
parent
aeb5417633
commit
ff663c9606
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright (c) 2000-2006, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.130 2006/10/04 00:30:05 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.130.2.1 2007/04/16 20:16:11 mha Exp $
|
||||
*/
|
||||
#include "postgres_fe.h"
|
||||
#include "common.h"
|
||||
@ -942,7 +942,7 @@ SendQuery(const char *query)
|
||||
PQclear(results);
|
||||
|
||||
/* Possible microtiming output */
|
||||
if (OK && pset.timing)
|
||||
if (OK && pset.timing && !pset.quiet)
|
||||
printf(_("Time: %.3f ms\n"), elapsed_msec);
|
||||
|
||||
/* check for events that may occur during query execution */
|
||||
|
Loading…
x
Reference in New Issue
Block a user