From 4ff9c8dd48b265d925be8bf90ac65c34a249c7b5 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 28 Jul 2010 04:39:14 +0000 Subject: [PATCH] Show psql timing output even in quiet mode These two settings ought to be independent of each other. --- src/bin/psql/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 6cef2bafcf..ed92937242 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -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 */