]> granicus.if.org Git - postgresql/commitdiff
Change "restoring" to "processing" in message from pg_dump
authorMagnus Hagander <magnus@hagander.net>
Tue, 4 Sep 2012 13:00:04 +0000 (15:00 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 4 Sep 2012 13:00:04 +0000 (15:00 +0200)
The same message is used in both pg_restore and pg_dump, and it's
confusing to output "restoring data for table xyz" when the user
is just doing a pg_dump.

src/bin/pg_dump/pg_backup_archiver.c

index c7ef9a6fd33582f26b830de9059bcfcb14b19338..722b3e924c0d3f9295319f340586ec38c0f8342e 100644 (file)
@@ -655,7 +655,7 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
                                if (strcmp(te->desc, "BLOBS") == 0 ||
                                        strcmp(te->desc, "BLOB COMMENTS") == 0)
                                {
-                                       ahlog(AH, 1, "restoring %s\n", te->desc);
+                                       ahlog(AH, 1, "processing %s\n", te->desc);
 
                                        _selectOutputSchema(AH, "pg_catalog");
 
@@ -669,7 +669,7 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
                                        _becomeOwner(AH, te);
                                        _selectOutputSchema(AH, te->namespace);
 
-                                       ahlog(AH, 1, "restoring data for table \"%s\"\n",
+                                       ahlog(AH, 1, "processing data for table \"%s\"\n",
                                                  te->tag);
 
                                        /*