mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
Message style fixes
This commit is contained in:
@ -1442,7 +1442,7 @@ sendFile(const char *readfilename, const char *tarfilename, struct stat *statbuf
|
||||
if (verify_checksum && (cnt % BLCKSZ != 0))
|
||||
{
|
||||
ereport(WARNING,
|
||||
(errmsg("cannot verify checksum in file \"%s\", block "
|
||||
(errmsg("could not verify checksum in file \"%s\", block "
|
||||
"%d: read buffer size %d and page size %d "
|
||||
"differ",
|
||||
readfilename, blkno, (int) cnt, BLCKSZ)));
|
||||
@ -1599,8 +1599,10 @@ sendFile(const char *readfilename, const char *tarfilename, struct stat *statbuf
|
||||
if (checksum_failures > 1)
|
||||
{
|
||||
ereport(WARNING,
|
||||
(errmsg("file \"%s\" has a total of %d checksum verification "
|
||||
"failures", readfilename, checksum_failures)));
|
||||
(errmsg_plural("file \"%s\" has a total of %d checksum verification failure",
|
||||
"file \"%s\" has a total of %d checksum verification failures",
|
||||
checksum_failures,
|
||||
readfilename, checksum_failures)));
|
||||
|
||||
pgstat_report_checksum_failures_in_db(dboid, checksum_failures);
|
||||
}
|
||||
|
Reference in New Issue
Block a user