1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

pg_dump: Fix some messages

Make quoting style match existing style.  Improve plural support.
This commit is contained in:
Peter Eisentraut
2015-09-27 20:29:40 -04:00
parent 90d037772e
commit 27af56b595
3 changed files with 16 additions and 14 deletions

View File

@@ -624,7 +624,7 @@ RestoreArchive(Archive *AHX)
{
/* Show namespace if available */
if (te->namespace)
ahlog(AH, 1, "setting owner and privileges for %s \"%s\".\"%s\"\n",
ahlog(AH, 1, "setting owner and privileges for %s \"%s.%s\"\n",
te->desc, te->namespace, te->tag);
else
ahlog(AH, 1, "setting owner and privileges for %s \"%s\"\n",
@@ -704,7 +704,7 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
{
/* Show namespace if available */
if (te->namespace)
ahlog(AH, 1, "creating %s \"%s\".\"%s\"\n",
ahlog(AH, 1, "creating %s \"%s.%s\"\n",
te->desc, te->namespace, te->tag);
else
ahlog(AH, 1, "creating %s \"%s\"\n", te->desc, te->tag);
@@ -800,7 +800,7 @@ restore_toc_entry(ArchiveHandle *AH, TocEntry *te,
_becomeOwner(AH, te);
_selectOutputSchema(AH, te->namespace);
ahlog(AH, 1, "processing data for table \"%s\".\"%s\"\n",
ahlog(AH, 1, "processing data for table \"%s.%s\"\n",
te->namespace, te->tag);
/*