Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 77c0204

Browse files
committed
Message styling
1 parent c70b7b7 commit 77c0204

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.98 2004/10/08 15:03:26 tgl Exp $
18+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.99 2004/10/22 16:04:35 petere Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -395,7 +395,7 @@ RestoreArchive(Archive *AHX, RestoreOptions *ropt)
395395

396396
if ((reqs & REQ_SCHEMA) != 0) /* We want the schema */
397397
{
398-
ahlog(AH, 1, "setting owner and acl for %s %s\n",
398+
ahlog(AH, 1, "setting owner and privileges for %s %s\n",
399399
te->desc, te->tag);
400400
_printTocEntry(AH, te, ropt, false, true);
401401
}
@@ -1269,7 +1269,7 @@ warn_or_die_horribly(ArchiveHandle *AH,
12691269
}
12701270
if (AH->currentTE != NULL && AH->currentTE != AH->lastErrorTE)
12711271
{
1272-
write_msg(modulename, "Error from TOC Entry %d; %u %u %s %s %s\n", AH->currentTE->dumpId,
1272+
write_msg(modulename, "Error from TOC entry %d; %u %u %s %s %s\n", AH->currentTE->dumpId,
12731273
AH->currentTE->catalogId.tableoid, AH->currentTE->catalogId.oid,
12741274
AH->currentTE->desc, AH->currentTE->tag, AH->currentTE->owner);
12751275
}

src/bin/pg_dump/pg_dump.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.389 2004/10/18 00:20:41 tgl Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.390 2004/10/22 16:04:35 petere Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -6930,7 +6930,7 @@ dumpConstraint(Archive *fout, ConstraintInfo *coninfo)
69306930

69316931
if (indxinfo == NULL)
69326932
{
6933-
write_msg(NULL, "missing index for constraint %s\n",
6933+
write_msg(NULL, "missing index for constraint \"%s\"\n",
69346934
coninfo->dobj.name);
69356935
exit_nicely();
69366936
}
@@ -7100,7 +7100,7 @@ dumpConstraint(Archive *fout, ConstraintInfo *coninfo)
71007100
}
71017101
else
71027102
{
7103-
write_msg(NULL, "unexpected constraint type\n");
7103+
write_msg(NULL, "unrecognized constraint type: %c\n", coninfo->contype);
71047104
exit_nicely();
71057105
}
71067106

@@ -7699,7 +7699,7 @@ getDependencies(void)
76997699
return;
77007700

77017701
if (g_verbose)
7702-
write_msg(NULL, "fetching dependency data\n");
7702+
write_msg(NULL, "reading dependency data\n");
77037703

77047704
/* Make sure we are in proper schema */
77057705
selectSourceSchema("pg_catalog");

src/bin/pg_dump/pg_restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*
3636
* IDENTIFICATION
37-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.64 2004/10/13 14:24:16 momjian Exp $
37+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.65 2004/10/22 16:04:35 petere Exp $
3838
*
3939
*-------------------------------------------------------------------------
4040
*/
@@ -372,7 +372,7 @@ usage(const char *progname)
372372
printf(_("\nOptions controlling the restore:\n"));
373373
printf(_(" -a, --data-only restore only the data, no schema\n"));
374374
printf(_(" -c, --clean clean (drop) schema prior to create\n"));
375-
printf(_(" -C, --create process commands to create the database\n"));
375+
printf(_(" -C, --create issue commands to create the database\n"));
376376
printf(_(" -I, --index=NAME restore named index\n"));
377377
printf(_(" -L, --use-list=FILENAME use specified table of contents for ordering\n"
378378
" output from this file\n"));

0 commit comments

Comments
 (0)