Skip to content

Commit 2e62908

Browse files
committed
Put 'dump complete' message in the right place, so it comes out where
it's supposed to when --file option is used.
1 parent 8816479 commit 2e62908

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.105 2005/02/22 04:39:34 momjian Exp $
18+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.106 2005/03/18 17:32:55 tgl Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -400,6 +400,8 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
400400
te = te->next;
401401
}
402402

403+
ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
404+
403405
/*
404406
* Clean up & we're done.
405407
*/
@@ -419,8 +421,6 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
419421
AH->blobConnection = NULL;
420422
}
421423
}
422-
423-
ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
424424
}
425425

426426
/*

0 commit comments

Comments
 (0)