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

Commitcac3463

Browse files
committed
No EOF from psql when quiet mode.
1 parent2de3d96 commitcac3463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/psql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.47 1997/01/10 20:52:32 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.48 1997/01/13 02:03:31 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1285,7 +1285,7 @@ MainLoop(PsqlSettings * settings, FILE * source)
12851285

12861286
query_start=line;
12871287

1288-
if (line==NULL) {/* No more input. Time to quit */
1288+
if (line==NULL&& !settings->quiet) {/* No more input. Time to quit */
12891289
printf("EOF\n");/* Goes on prompt line */
12901290
eof= true;
12911291
}else {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp