diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-09-14 18:40:58 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-09-14 18:40:58 -0400 |
commit | 31dcfae83c001c6cdfd1e67c11adb9149f564da0 (patch) | |
tree | 37eeed81972f3a577bd75a0ee45142cb13dba0f1 /src/backend/access/transam/xlogutils.c | |
parent | 63840526b05c5c12c92cb16be8748e4d20e6eab6 (diff) | |
download | postgresql-31dcfae83c001c6cdfd1e67c11adb9149f564da0.tar.gz postgresql-31dcfae83c001c6cdfd1e67c11adb9149f564da0.zip |
Use the terminology "WAL file" not "log file" more consistently.
Referring to the WAL as just "log" invites confusion with the
postmaster log, so avoid doing that in docs and error messages.
Also shorten "WAL segment file" to just "WAL file" in various
places.
Bharath Rupireddy, reviewed by Nathan Bossart and Kyotaro Horiguchi
Discussion: https://postgr.es/m/CALj2ACUeXa8tDPaiTLexBDMZ7hgvaN+RTb957-cn5qwv9zf-MQ@mail.gmail.com
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 e60951a5fcd..563cba258dd 100644 --- a/src/backend/access/transam/xlogutils.c +++ b/src/backend/access/transam/xlogutils.c @@ -1051,14 +1051,14 @@ WALReadRaiseError(WALReadError *errinfo) errno = errinfo->wre_errno; ereport(ERROR, (errcode_for_file_access(), - errmsg("could not read from log segment %s, offset %d: %m", + errmsg("could not read from WAL 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 %d: read %d of %d", + errmsg("could not read from WAL segment %s, offset %d: read %d of %d", fname, errinfo->wre_off, errinfo->wre_read, errinfo->wre_req))); } |