Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1e6de941
Commit
1e6de941
authored
Mar 13, 2017
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change xlog to WAL in some error messages
parent
aeed17d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/backend/access/transam/twophase.c
src/backend/access/transam/twophase.c
+3
-3
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+3
-3
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+1
-1
No files found.
src/backend/access/transam/twophase.c
View file @
1e6de941
...
...
@@ -1259,13 +1259,13 @@ XlogReadTwoPhaseData(XLogRecPtr lsn, char **buf, int *len)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OUT_OF_MEMORY
),
errmsg
(
"out of memory"
),
errdetail
(
"Failed while allocating a
n XLog
reading processor."
)));
errdetail
(
"Failed while allocating a
WAL
reading processor."
)));
record
=
XLogReadRecord
(
xlogreader
,
lsn
,
&
errormsg
);
if
(
record
==
NULL
)
ereport
(
ERROR
,
(
errcode_for_file_access
(),
errmsg
(
"could not read two-phase state from
xlog
at %X/%X"
,
errmsg
(
"could not read two-phase state from
WAL
at %X/%X"
,
(
uint32
)
(
lsn
>>
32
),
(
uint32
)
lsn
)));
...
...
@@ -1273,7 +1273,7 @@ XlogReadTwoPhaseData(XLogRecPtr lsn, char **buf, int *len)
(
XLogRecGetInfo
(
xlogreader
)
&
XLOG_XACT_OPMASK
)
!=
XLOG_XACT_PREPARE
)
ereport
(
ERROR
,
(
errcode_for_file_access
(),
errmsg
(
"expected two-phase state data is not present in
xlog
at %X/%X"
,
errmsg
(
"expected two-phase state data is not present in
WAL
at %X/%X"
,
(
uint32
)
(
lsn
>>
32
),
(
uint32
)
lsn
)));
...
...
src/backend/access/transam/xlog.c
View file @
1e6de941
...
...
@@ -6315,7 +6315,7 @@ StartupXLOG(void)
ereport
(
ERROR
,
(
errcode
(
ERRCODE_OUT_OF_MEMORY
),
errmsg
(
"out of memory"
),
errdetail
(
"Failed while allocating a
n 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 a
n 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
);
...
...
src/backend/utils/misc/guc.c
View file @
1e6de941
...
...
@@ -1678,7 +1678,7 @@ static struct config_int ConfigureNamesInt[] =
{
{
{
"archive_timeout"
,
PGC_SIGHUP
,
WAL_ARCHIVING
,
gettext_noop
(
"Forces a switch to the next
xlog
file if a "
gettext_noop
(
"Forces a switch to the next
WAL
file if a "
"new file has not been started within N seconds."
),
NULL
,
GUC_UNIT_S
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment