aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-05-24 21:25:28 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-05-24 21:35:06 +0300
commitc8d45152fa04c77370fc16faf0727c0f52739f0a (patch)
tree7a2dfc3bc02374b2f0117d6eebdb797867edee93 /src
parentcc24fb418d8da7ed93f9cd936f7da8fc7e0381bf (diff)
downloadpostgresql-c8d45152fa04c77370fc16faf0727c0f52739f0a.tar.gz
postgresql-c8d45152fa04c77370fc16faf0727c0f52739f0a.zip
Message improvements
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index 3feb3ee5484..1f31fe0694c 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -574,7 +574,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
if (symlink(&copybuf[157], fn) != 0)
{
fprintf(stderr,
- _("%s: could not create symbolic link from %s to %s: %s\n"),
+ _("%s: could not create symbolic link from \"%s\" to \"%s\": %s\n"),
progname, fn, &copybuf[157], strerror(errno));
disconnect_and_exit(1);
}
@@ -659,7 +659,7 @@ ReceiveAndUnpackTarFile(PGconn *conn, PGresult *res, int rownum)
if (file != NULL)
{
- fprintf(stderr, _("%s: last file was never finished\n"), progname);
+ fprintf(stderr, _("%s: COPY stream ended before last file was finished\n"), progname);
disconnect_and_exit(1);
}
@@ -780,7 +780,7 @@ BaseBackup(void)
if (PQsendQuery(conn, current_path) == 0)
{
- fprintf(stderr, _("%s: could not start base backup: %s"),
+ fprintf(stderr, _("%s: could not send base backup command: %s"),
progname, PQerrorMessage(conn));
disconnect_and_exit(1);
}
@@ -876,7 +876,7 @@ BaseBackup(void)
res = PQgetResult(conn);
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
- fprintf(stderr, _("%s: could not get end xlog position from server\n"),
+ fprintf(stderr, _("%s: could not get WAL end position from server\n"),
progname);
disconnect_and_exit(1);
}