postgres.git / summary / log / commit / refs
commit d074805fd42d077e850d69ca46fafc0dddf42671
Author: Magnus Hagander <magnus@hagander.net>
Date: Tue Sep 04 13:00:04 2012 +0000
Change "restoring" to "processing" in message from pg_dump
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c
index c7ef9a6fd33..722b3e924c0 100644
--- a/src/bin/pg_dump/pg_backup_archiver.c
+++ b/src/bin/pg_dump/pg_backup_archiver.c
@@ -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);
/*
[parent: 4effe7a58997]