]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Put 'dump complete' message in the right place, so it comes out where
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Mar 2005 17:33:03 +0000 (17:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 Mar 2005 17:33:03 +0000 (17:33 +0000)
it's supposed to when --file option is used.

src/bin/pg_dump/pg_backup_archiver.c

index b424b626211a49f5e38f1a05842d67e74835578d..32ed1eac76714e4e84f6c9ec615c8853e4e671f6 100644 (file)
@@ -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");
 }
 
 /*