1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-18 12:22:09 +03:00

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

it's supposed to when --file option is used.
This commit is contained in:
Tom Lane
2005-03-18 17:33:03 +00:00
parent 817bc021b7
commit 8ae13aac52

View File

@@ -15,7 +15,7 @@
* *
* *
* IDENTIFICATION * 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; 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)
AH->blobConnection = NULL; AH->blobConnection = NULL;
} }
} }
ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
} }
/* /*