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

Commit2ee5d94

Browse files
committed
Don't write timing output in quiet mode.
Merlin Moncure
1 parent274dfdb commit2ee5d94

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-2007, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.133 2007/02/08 11:10:27 petere Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.134 2007/04/16 20:15:38 mha Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"common.h"
@@ -918,7 +918,7 @@ SendQuery(const char *query)
918918
PQclear(results);
919919

920920
/* Possible microtiming output */
921-
if (OK&&pset.timing)
921+
if (OK&&pset.timing&& !pset.quiet)
922922
printf(_("Time: %.3f ms\n"),elapsed_msec);
923923

924924
/* check for events that may occur during query execution */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp