1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Change xlog to WAL in some error messages

This commit is contained in:
Peter Eisentraut
2017-03-13 15:40:16 -04:00
parent aeed17d000
commit 1e6de941e3
3 changed files with 7 additions and 7 deletions

View File

@ -6315,7 +6315,7 @@ StartupXLOG(void)
ereport(ERROR,
(errcode(ERRCODE_OUT_OF_MEMORY),
errmsg("out of memory"),
errdetail("Failed while allocating an XLog reading processor.")));
errdetail("Failed while allocating a WAL reading processor.")));
xlogreader->system_identifier = ControlFile->system_identifier;
/*
@ -11246,8 +11246,8 @@ rm_redo_error_callback(void *arg)
initStringInfo(&buf);
xlog_outdesc(&buf, record);
/* translator: %s is an XLog record description */
errcontext("xlog redo at %X/%X for %s",
/* translator: %s is a WAL record description */
errcontext("WAL redo at %X/%X for %s",
(uint32) (record->ReadRecPtr >> 32),
(uint32) record->ReadRecPtr,
buf.data);