aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-18 17:32:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-18 17:32:55 +0000
commit2e629080f72c0fe379764244cf56646af154e32f (patch)
tree6e228fc9eace1d1f82fa34349d8017c57e525eb6
parent88164799ce8eaf7f1e019967926200caa9ae856c (diff)
downloadpostgresql-2e629080f72c0fe379764244cf56646af154e32f.tar.gz
postgresql-2e629080f72c0fe379764244cf56646af154e32f.zip
Put 'dump complete' message in the right place, so it comes out where
it's supposed to when --file option is used.
-rw-r--r--src/bin/pg_dump/pg_backup_archiver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index 2e60684f048..7643fdda448 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.105 2005/02/22 04:39:34 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.106 2005/03/18 17:32:55 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -400,6 +400,8 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
te = te->next;
}
+ ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
+
/*
* Clean up & we're done.
*/
@@ -419,8 +421,6 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
AH->blobConnection = NULL;
}
}
-
- ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
}
/*