mirror of
https://github.com/postgres/postgres.git
synced 2026-07-15 04:40:58 -04:00
Flush output streams before calling pg_dump subprocess.
This commit is contained in:
parent
056dee3bad
commit
f032bccbdd
1 changed files with 4 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
* 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)
|
|||
if (verbose)
|
||||
fprintf(stderr, _("%s: running %s\n"), progname, cmd->data);
|
||||
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
|
||||
ret = system(cmd->data);
|
||||
destroyPQExpBuffer(cmd);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue