diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-18 17:33:03 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-18 17:33:03 +0000 |
commit | 8ae13aac520a93ec684b6275adfee03c9994f513 (patch) | |
tree | 685068f21b80a4d6354000ac6a054be8337e80dc | |
parent | 817bc021b76a8d34a8947be5ff037b27778c651f (diff) | |
download | postgresql-8ae13aac520a93ec684b6275adfee03c9994f513.tar.gz postgresql-8ae13aac520a93ec684b6275adfee03c9994f513.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.c | 6 |
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 b424b626211..32ed1eac767 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.101.4.3 2005/01/26 19:44:53 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.101.4.4 2005/03/18 17:33:03 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"); } /* |