mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Message style improvements
Message style, plurals, quoting, spelling, consistency with similar messages
This commit is contained in:
@@ -1677,12 +1677,12 @@ SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn)
|
||||
|
||||
if (ondisk.magic != SNAPBUILD_MAGIC)
|
||||
ereport(ERROR,
|
||||
(errmsg("snapbuild state file \"%s\" has wrong magic %u instead of %u",
|
||||
(errmsg("snapbuild state file \"%s\" has wrong magic number: %u instead of %u",
|
||||
path, ondisk.magic, SNAPBUILD_MAGIC)));
|
||||
|
||||
if (ondisk.version != SNAPBUILD_VERSION)
|
||||
ereport(ERROR,
|
||||
(errmsg("snapbuild state file \"%s\" has unsupported version %u instead of %u",
|
||||
(errmsg("snapbuild state file \"%s\" has unsupported version: %u instead of %u",
|
||||
path, ondisk.version, SNAPBUILD_VERSION)));
|
||||
|
||||
INIT_CRC32C(checksum);
|
||||
@@ -1738,7 +1738,7 @@ SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn)
|
||||
if (!EQ_CRC32C(checksum, ondisk.checksum))
|
||||
ereport(ERROR,
|
||||
(errcode_for_file_access(),
|
||||
errmsg("snapbuild state file %s: checksum mismatch, is %u, should be %u",
|
||||
errmsg("checksum mismatch for snapbuild state file \"%s\": is %u, should be %u",
|
||||
path, checksum, ondisk.checksum)));
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user