1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-12 21:01:52 +03:00

pg_rewind: Improve some messages

The output of a typical pg_rewind run contained a mix of capitalized and
not-capitalized and punctuated and not-punctuated phrases for no
apparent reason.  Make that consistent.  Also fix some problems in other
messages.
This commit is contained in:
Peter Eisentraut
2015-10-01 21:42:00 -04:00
parent 867bc6849f
commit 0f51a848ab
4 changed files with 8 additions and 8 deletions

View File

@ -198,7 +198,7 @@ truncate_target_file(const char *path, off_t newsize)
dstpath, strerror(errno));
if (ftruncate(fd, newsize) != 0)
pg_fatal("could not truncate file \"%s\" to %u bytes: %s\n",
pg_fatal("could not truncate file \"%s\" to %u: %s\n",
dstpath, (unsigned int) newsize, strerror(errno));
close(fd);