Commit bef228d1 authored by Bruce Momjian's avatar Bruce Momjian

Add end-of-dump markers for pg_dump and pg_dumpall.

parent 8a911003
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.86 2004/04/22 02:39:10 momjian Exp $ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.87 2004/05/19 21:21:26 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -384,6 +384,8 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt) ...@@ -384,6 +384,8 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
AH->blobConnection = NULL; AH->blobConnection = NULL;
} }
} }
ahprintf(AH, "--\n-- PostgreSQL database dump complete\n--\n\n");
} }
/* /*
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* *
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.33 2004/05/14 17:04:47 momjian Exp $ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.34 2004/05/19 21:21:26 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -242,6 +242,11 @@ main(int argc, char *argv[]) ...@@ -242,6 +242,11 @@ main(int argc, char *argv[])
} }
PQfinish(conn); PQfinish(conn);
printf("--\n");
printf("-- PostgreSQL database cluster dump complete\n");
printf("--\n\n");
exit(0); exit(0);
} }
......
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