Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e6de94

Browse files
committed
Change xlog to WAL in some error messages
1 parentaeed17d commit1e6de94

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 allocatingan XLog reading processor.")));
1262+
errdetail("Failed while allocatinga 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 fromxlog at %X/%X",
1268+
errmsg("could not read two-phase state fromWAL 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 inxlog at %X/%X",
1276+
errmsg("expected two-phase state data is not present inWAL 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 allocatingan XLog reading processor.")));
6318+
errdetail("Failed while allocatinga 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 isan XLog record description */
11250-
errcontext("xlog redo at %X/%X for %s",
11249+
/* translator: %s isa 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 nextxlog file if a "
1681+
gettext_noop("Forces a switch to the nextWAL file if a "
16821682
"new file has not been started within N seconds."),
16831683
NULL,
16841684
GUC_UNIT_S

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp