if (symlink(©buf[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, ©buf[157], strerror(errno));
disconnect_and_exit(1);
}
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);
}
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);
}
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);
}