Content-Length: 361118 | pFad | http://github.com/tonybelloni/postgres/commit/1e6de941e38fde512cadf33e55e644492f12abd1

BB Change xlog to WAL in some error messages · tonybelloni/postgres@1e6de94 · GitHub
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

+3-3
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

+3-3
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

+1-1
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tonybelloni/postgres/commit/1e6de941e38fde512cadf33e55e644492f12abd1

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy