diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-12-29 10:08:41 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-12-29 10:08:41 +0100 |
commit | 113fa3945f8969346d6a87b9a56d54afa3d34687 (patch) | |
tree | 8cbd66aa51cf165d27e9a2f286239a5f9f720510 /src/backend/access/transam/xlogutils.c | |
parent | cab5b9ab2c066ba904f13de2681872dcda31e207 (diff) | |
download | postgresql-113fa3945f8969346d6a87b9a56d54afa3d34687.tar.gz postgresql-113fa3945f8969346d6a87b9a56d54afa3d34687.zip |
Fix incorrect format placeholders
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
-rw-r--r-- | src/backend/access/transam/xlogutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlogutils.c b/src/backend/access/transam/xlogutils.c index b33e0531ed1..b2a57bd4ff6 100644 --- a/src/backend/access/transam/xlogutils.c +++ b/src/backend/access/transam/xlogutils.c @@ -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))); } |