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/copy_fetch.c | |
parent | 747781f25e7eaa2e5cb5ed69bdae3e5f61795d2e (diff) | |
download | postgresql-e98d635d5dbf25e5cde282af111af9fdffafa557.tar.gz |
pg_rewind: Improve message wording
Diffstat (limited to 'src/bin/pg_rewind/copy_fetch.c')
-rw-r--r-- | src/bin/pg_rewind/copy_fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_rewind/copy_fetch.c b/src/bin/pg_rewind/copy_fetch.c index 991e348670..224fad16f9 100644 --- a/src/bin/pg_rewind/copy_fetch.c +++ b/src/bin/pg_rewind/copy_fetch.c @@ -148,7 +148,7 @@ recurse_dir(const char *datadir, const char *parentpath, fullparentpath, strerror(errno)); if (closedir(xldir)) - pg_fatal("could not close archive location \"%s\": %s\n", + pg_fatal("could not close directory \"%s\": %s\n", fullparentpath, strerror(errno)); } @@ -199,7 +199,7 @@ copy_file_range(const char *path, off_t begin, off_t end, bool trunc) } if (close(srcfd) != 0) - pg_fatal("error closing file \"%s\": %s\n", srcpath, strerror(errno)); + pg_fatal("could not close file \"%s\": %s\n", srcpath, strerror(errno)); } /* |