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

Commitf032bcc

Browse files
committed
Flush output streams before calling pg_dump subprocess.
1 parent056dee3 commitf032bcc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.1 2002/08/2718:57:26 petere Exp $
9+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.2 2002/08/2721:33:41 petere Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -468,6 +468,9 @@ runPgDump(const char *dbname)
468468
if (verbose)
469469
fprintf(stderr,_("%s: running %s\n"),progname,cmd->data);
470470

471+
fflush(stdout);
472+
fflush(stderr);
473+
471474
ret=system(cmd->data);
472475
destroyPQExpBuffer(cmd);
473476

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp