aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-08-09 00:07:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-08-09 00:07:00 -0400
commitf25e0bf5e0af01a687395a76e676dadeb4a60d0a (patch)
tree00557e67e01f2fb0f88a9d5d3be2fa77aa643bd7 /src/bin
parent3dad73e71f08abd86564d5090a58ca71740e07e0 (diff)
downloadpostgresql-f25e0bf5e0af01a687395a76e676dadeb4a60d0a.tar.gz
postgresql-f25e0bf5e0af01a687395a76e676dadeb4a60d0a.zip
Small message fixes
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/initdb/initdb.c2
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c4
-rw-r--r--src/bin/pg_dump/pg_backup_tar.c2
-rw-r--r--src/bin/pg_dump/pg_dump.c2
-rw-r--r--src/bin/pg_dump/pg_dumpall.c2
-rw-r--r--src/bin/pg_dump/pg_restore.c2
-rw-r--r--src/bin/pg_resetxlog/pg_resetxlog.c2
-rw-r--r--src/bin/psql/command.c2
8 files changed, 9 insertions, 9 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index de5cc47077d..c8ff2cbc7bc 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -2548,7 +2548,7 @@ check_locale_name(int category, const char *locale, char **canonname)
save = setlocale(category, NULL);
if (!save)
{
- fprintf(stderr, _("%s: setlocale failed\n"),
+ fprintf(stderr, _("%s: setlocale() failed\n"),
progname);
exit(1);
}
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 0b02c4c4014..3d26e22b8fc 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -1123,13 +1123,13 @@ update_tablespace_symlink(Oid oid, const char *old_dir)
if (unlink(linkloc) != 0 && errno != ENOENT)
{
- fprintf(stderr, _("%s: could not remove symbolic link \"%s\": %s"),
+ fprintf(stderr, _("%s: could not remove symbolic link \"%s\": %s\n"),
progname, linkloc, strerror(errno));
disconnect_and_exit(1);
}
if (symlink(new_dir, linkloc) != 0)
{
- fprintf(stderr, _("%s: could not create symbolic link \"%s\": %s"),
+ fprintf(stderr, _("%s: could not create symbolic link \"%s\": %s\n"),
progname, linkloc, strerror(errno));
disconnect_and_exit(1);
}
diff --git a/src/bin/pg_dump/pg_backup_tar.c b/src/bin/pg_dump/pg_backup_tar.c
index aa06503fb04..457b742fa48 100644
--- a/src/bin/pg_dump/pg_backup_tar.c
+++ b/src/bin/pg_dump/pg_backup_tar.c
@@ -1083,7 +1083,7 @@ _tarAddFile(ArchiveHandle *AH, TAR_MEMBER *th)
fseeko(tmp, 0, SEEK_END);
th->fileLen = ftello(tmp);
if (th->fileLen < 0)
- exit_horribly(modulename, "could not determine seek position in file: %s\n",
+ exit_horribly(modulename, "could not determine seek position in archive file: %s\n",
strerror(errno));
fseeko(tmp, 0, SEEK_SET);
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 412f52f7071..5c0f95fea35 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -582,7 +582,7 @@ main(int argc, char **argv)
}
if (if_exists && !outputClean)
- exit_horribly(NULL, "option --if-exists requires -c/--clean option\n");
+ exit_horribly(NULL, "option --if-exists requires option -c/--clean\n");
/* Identify archive format to emit */
archiveFormat = parseArchiveFormat(format, &archiveMode);
diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c
index a15d14b6acd..405009158d5 100644
--- a/src/bin/pg_dump/pg_dumpall.c
+++ b/src/bin/pg_dump/pg_dumpall.c
@@ -338,7 +338,7 @@ main(int argc, char *argv[])
if (if_exists && !output_clean)
{
- fprintf(stderr, _("%s: option --if-exists requires -c/--clean option\n"),
+ fprintf(stderr, _("%s: option --if-exists requires option -c/--clean\n"),
progname);
exit_nicely(1);
}
diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c
index f7f3f51ed35..dcb51090dbd 100644
--- a/src/bin/pg_dump/pg_restore.c
+++ b/src/bin/pg_dump/pg_restore.c
@@ -340,7 +340,7 @@ main(int argc, char **argv)
if (if_exists && !opts->dropSchema)
{
- fprintf(stderr, _("%s: option --if-exists requires -c/--clean option\n"),
+ fprintf(stderr, _("%s: option --if-exists requires option -c/--clean\n"),
progname);
exit_nicely(1);
}
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c
index 915a1ed6463..302d0054b2c 100644
--- a/src/bin/pg_resetxlog/pg_resetxlog.c
+++ b/src/bin/pg_resetxlog/pg_resetxlog.c
@@ -683,7 +683,7 @@ PrintNewControlValues()
if (set_xid_epoch != -1)
{
- printf(_("NextXID Epoch: %u\n"),
+ printf(_("NextXID epoch: %u\n"),
ControlFile.checkPointCopy.nextXidEpoch);
}
}
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 161de75b0ac..741a72d9254 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -2509,7 +2509,7 @@ printPsetInfo(const char *param, struct printQueryOpt *popt)
if (popt->topt.default_footer)
printf(_("Default footer (%s) is on.\n"), param);
else
- printf(_("Default footer (%s) is off."), param);
+ printf(_("Default footer (%s) is off.\n"), param);
}
/* show format */