diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2015-06-22 20:40:01 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2015-06-22 20:40:41 -0400 |
commit | e98d635d5dbf25e5cde282af111af9fdffafa557 (patch) | |
tree | e881870e2546501a93ea97296b285923d339efd4 /src/bin/pg_rewind/filemap.c | |
parent | 747781f25e7eaa2e5cb5ed69bdae3e5f61795d2e (diff) | |
download | postgresql-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.c | 4 |
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; |