Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ff9c8d

Browse files
committed
Show psql timing output even in quiet mode
These two settings ought to be independent of each other.
1 parent6d16902 commit4ff9c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/common.c

Lines changed: 2 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp