Commit f032bccb authored by Peter Eisentraut's avatar Peter Eisentraut

Flush output streams before calling pg_dump subprocess.

parent 056dee3b
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* *
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.1 2002/08/27 18:57:26 petere Exp $ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.2 2002/08/27 21:33:41 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -468,6 +468,9 @@ runPgDump(const char *dbname) ...@@ -468,6 +468,9 @@ runPgDump(const char *dbname)
if (verbose) if (verbose)
fprintf(stderr, _("%s: running %s\n"), progname, cmd->data); fprintf(stderr, _("%s: running %s\n"), progname, cmd->data);
fflush(stdout);
fflush(stderr);
ret = system(cmd->data); ret = system(cmd->data);
destroyPQExpBuffer(cmd); destroyPQExpBuffer(cmd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment