From d074805fd42d077e850d69ca46fafc0dddf42671 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Tue, 4 Sep 2012 15:00:04 +0200 Subject: [PATCH] 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 c7ef9a6fd3..722b3e924c 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); /* -- 2.40.0