aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/filemap.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-06-22 20:40:01 -0400
committerPeter Eisentraut <peter_e@gmx.net>2015-06-22 20:40:41 -0400
commite98d635d5dbf25e5cde282af111af9fdffafa557 (patch)
treee881870e2546501a93ea97296b285923d339efd4 /src/bin/pg_rewind/filemap.c
parent747781f25e7eaa2e5cb5ed69bdae3e5f61795d2e (diff)
downloadpostgresql-e98d635d5dbf25e5cde282af111af9fdffafa557.tar.gz
postgresql-e98d635d5dbf25e5cde282af111af9fdffafa557.zip
pg_rewind: Improve message wording
Diffstat (limited to 'src/bin/pg_rewind/filemap.c')
-rw-r--r--src/bin/pg_rewind/filemap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_rewind/filemap.c b/src/bin/pg_rewind/filemap.c
index 3821e9c8465..05eff68185e 100644
--- a/src/bin/pg_rewind/filemap.c
+++ b/src/bin/pg_rewind/filemap.c
@@ -93,7 +93,7 @@ process_source_file(const char *path, file_type_t type, size_t newsize,
* regular file
*/
if (type != FILE_TYPE_REGULAR && isRelDataFile(path))
- pg_fatal("data file in source \"%s\" is not a regular file\n", path);
+ pg_fatal("data file \"%s\" in source is not a regular file\n", path);
snprintf(localpath, sizeof(localpath), "%s/%s", datadir_target, path);
@@ -256,7 +256,7 @@ process_target_file(const char *path, file_type_t type, size_t oldsize,
if (lstat(localpath, &statbuf) < 0)
{
if (errno != ENOENT)
- pg_fatal("could not stat file \"%s\": %s",
+ pg_fatal("could not stat file \"%s\": %s\n",
localpath, strerror(errno));
exists = false;