aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_backup_custom.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-07-03 20:21:50 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-07-03 20:21:50 +0000
commit30ab5bd43d8f2082659191de8ae19be98c960ad7 (patch)
tree6fb43a759752330a19f33b76cd29d0dc1eb79bf3 /src/bin/pg_dump/pg_backup_custom.c
parent3ec9fb893e61939bb7cbee96dd787c644c3b1d22 (diff)
downloadpostgresql-30ab5bd43d8f2082659191de8ae19be98c960ad7.tar.gz
postgresql-30ab5bd43d8f2082659191de8ae19be98c960ad7.zip
More message munging and localization for pg_dump, especially the
--verbose messages, which had not been considered so far. Output to the terminal should okay now; comments written into the dump are still English only, which may or may not be the desirable thing.
Diffstat (limited to 'src/bin/pg_dump/pg_backup_custom.c')
-rw-r--r--src/bin/pg_dump/pg_backup_custom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_backup_custom.c b/src/bin/pg_dump/pg_backup_custom.c
index 00120d3039f..9de3e1b4a3d 100644
--- a/src/bin/pg_dump/pg_backup_custom.c
+++ b/src/bin/pg_dump/pg_backup_custom.c
@@ -19,7 +19,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_custom.c,v 1.12 2001/06/27 21:21:37 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_backup_custom.c,v 1.13 2001/07/03 20:21:48 petere Exp $
*
* Modifications - 28-Jun-2000 - pjw@rhyme.com.au
*
@@ -102,7 +102,7 @@ static void _EndDataCompressor(ArchiveHandle *AH, TocEntry *te);
static int _getFilePos(ArchiveHandle *AH, lclContext *ctx);
static int _DoDeflate(ArchiveHandle *AH, lclContext *ctx, int flush);
-static char *modulename = "custom archiver";
+static char *modulename = gettext_noop("custom archiver");
@@ -193,7 +193,7 @@ InitArchiveFmt_Custom(ArchiveHandle *AH)
else
AH->FH = stdin;
if (!AH->FH)
- die_horribly(AH, modulename, "could not open archive file %s: %s", AH->fSpec, strerror(errno));
+ die_horribly(AH, modulename, "could not open archive file %s: %s\n", AH->fSpec, strerror(errno));
ctx->hasSeek = (fseek(AH->FH, 0, SEEK_CUR) == 0);