Skip to content

Commit 1e6de94

Browse files
committed
Change xlog to WAL in some error messages
1 parent aeed17d commit 1e6de94

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/backend/access/transam/twophase.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,21 +1259,21 @@ XlogReadTwoPhaseData(XLogRecPtr lsn, char **buf, int *len)
12591259
ereport(ERROR,
12601260
(errcode(ERRCODE_OUT_OF_MEMORY),
12611261
errmsg("out of memory"),
1262-
errdetail("Failed while allocating an XLog reading processor.")));
1262+
errdetail("Failed while allocating a WAL reading processor.")));
12631263

12641264
record = XLogReadRecord(xlogreader, lsn, &errormsg);
12651265
if (record == NULL)
12661266
ereport(ERROR,
12671267
(errcode_for_file_access(),
1268-
errmsg("could not read two-phase state from xlog at %X/%X",
1268+
errmsg("could not read two-phase state from WAL at %X/%X",
12691269
(uint32) (lsn >> 32),
12701270
(uint32) lsn)));
12711271

12721272
if (XLogRecGetRmid(xlogreader) != RM_XACT_ID ||
12731273
(XLogRecGetInfo(xlogreader) & XLOG_XACT_OPMASK) != XLOG_XACT_PREPARE)
12741274
ereport(ERROR,
12751275
(errcode_for_file_access(),
1276-
errmsg("expected two-phase state data is not present in xlog at %X/%X",
1276+
errmsg("expected two-phase state data is not present in WAL at %X/%X",
12771277
(uint32) (lsn >> 32),
12781278
(uint32) lsn)));
12791279

src/backend/access/transam/xlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6315,7 +6315,7 @@ StartupXLOG(void)
63156315
ereport(ERROR,
63166316
(errcode(ERRCODE_OUT_OF_MEMORY),
63176317
errmsg("out of memory"),
6318-
errdetail("Failed while allocating an XLog reading processor.")));
6318+
errdetail("Failed while allocating a WAL reading processor.")));
63196319
xlogreader->system_identifier = ControlFile->system_identifier;
63206320

63216321
/*
@@ -11246,8 +11246,8 @@ rm_redo_error_callback(void *arg)
1124611246
initStringInfo(&buf);
1124711247
xlog_outdesc(&buf, record);
1124811248

11249-
/* translator: %s is an XLog record description */
11250-
errcontext("xlog redo at %X/%X for %s",
11249+
/* translator: %s is a WAL record description */
11250+
errcontext("WAL redo at %X/%X for %s",
1125111251
(uint32) (record->ReadRecPtr >> 32),
1125211252
(uint32) record->ReadRecPtr,
1125311253
buf.data);

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ static struct config_int ConfigureNamesInt[] =
16781678
{
16791679
{
16801680
{"archive_timeout", PGC_SIGHUP, WAL_ARCHIVING,
1681-
gettext_noop("Forces a switch to the next xlog file if a "
1681+
gettext_noop("Forces a switch to the next WAL file if a "
16821682
"new file has not been started within N seconds."),
16831683
NULL,
16841684
GUC_UNIT_S

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy