Commit 2e629080 authored by Tom Lane's avatar Tom Lane

Put 'dump complete' message in the right place, so it comes out where

it's supposed to when --file option is used.
parent 88164799
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -400,6 +400,8 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
te = te->next; te = te->next;
} }
ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
/* /*
* Clean up & we're done. * Clean up & we're done.
*/ */
...@@ -419,8 +421,6 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt) ...@@ -419,8 +421,6 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
AH->blobConnection = NULL; AH->blobConnection = NULL;
} }
} }
ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
} }
/* /*
......
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