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:
@ -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);
|
||||
|
Reference in New Issue
Block a user