mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
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.
This commit is contained in:
@ -655,7 +655,7 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
|
|||||||
if (strcmp(te->desc, "BLOBS") == 0 ||
|
if (strcmp(te->desc, "BLOBS") == 0 ||
|
||||||
strcmp(te->desc, "BLOB COMMENTS") == 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");
|
_selectOutputSchema(AH, "pg_catalog");
|
||||||
|
|
||||||
@ -669,7 +669,7 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
|
|||||||
_becomeOwner(AH, te);
|
_becomeOwner(AH, te);
|
||||||
_selectOutputSchema(AH, te->namespace);
|
_selectOutputSchema(AH, te->namespace);
|
||||||
|
|
||||||
ahlog(AH, 1, "restoring data for table \"%s\"\n",
|
ahlog(AH, 1, "processing data for table \"%s\"\n",
|
||||||
te->tag);
|
te->tag);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user