mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
Fix incorrect format placeholders
This commit is contained in:
@@ -985,14 +985,14 @@ WALReadRaiseError(WALReadError *errinfo)
|
||||
errno = errinfo->wre_errno;
|
||||
ereport(ERROR,
|
||||
(errcode_for_file_access(),
|
||||
errmsg("could not read from log segment %s, offset %u: %m",
|
||||
errmsg("could not read from log segment %s, offset %d: %m",
|
||||
fname, errinfo->wre_off)));
|
||||
}
|
||||
else if (errinfo->wre_read == 0)
|
||||
{
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_DATA_CORRUPTED),
|
||||
errmsg("could not read from log segment %s, offset %u: read %d of %d",
|
||||
errmsg("could not read from log segment %s, offset %d: read %d of %d",
|
||||
fname, errinfo->wre_off, errinfo->wre_read,
|
||||
errinfo->wre_req)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user