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

Commit626092a

Browse files
committed
Message style improvements
1 parent815fcd0 commit626092a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎src/backend/access/transam/timeline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ readTimeLineHistory(TimeLineID targetTLI)
150150
if (nfields!=3)
151151
ereport(FATAL,
152152
(errmsg("syntax error in history file: %s",fline),
153-
errhint("Expectedan XLOG switchpoint location.")));
153+
errhint("Expecteda transaction log switchpoint location.")));
154154

155155
if (result&&tli <=lasttli)
156156
ereport(FATAL,

‎src/backend/access/transam/xlog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3721,7 +3721,7 @@ XLogFileOpen(XLogSegNo segno)
37213721
if (fd<0)
37223722
ereport(PANIC,
37233723
(errcode_for_file_access(),
3724-
errmsg("could not openxlog file \"%s\": %m",path)));
3724+
errmsg("could not opentransaction log file \"%s\": %m",path)));
37253725

37263726
returnfd;
37273727
}
@@ -6281,7 +6281,7 @@ StartupXLOG(void)
62816281
ereport(FATAL,
62826282
(errmsg("requested timeline %u is not a child of this server's history",
62836283
recoveryTargetTLI),
6284-
errdetail("Latest checkpoint is at %X/%X on timeline %u, but in the history of the requested timeline, the server forked off from that timeline at %X/%X",
6284+
errdetail("Latest checkpoint is at %X/%X on timeline %u, but in the history of the requested timeline, the server forked off from that timeline at %X/%X.",
62856285
(uint32) (ControlFile->checkPoint >>32),
62866286
(uint32)ControlFile->checkPoint,
62876287
ControlFile->checkPointCopy.ThisTimeLineID,
@@ -9027,7 +9027,7 @@ checkTimeLineSwitch(XLogRecPtr lsn, TimeLineID newTLI, TimeLineID prevTLI)
90279027
/* Check that the record agrees on what the current (old) timeline is */
90289028
if (prevTLI!=ThisTimeLineID)
90299029
ereport(PANIC,
9030-
(errmsg("unexpectedprev timeline ID %u (current timeline ID %u) in checkpoint record",
9030+
(errmsg("unexpectedprevious timeline ID %u (current timeline ID %u) in checkpoint record",
90319031
prevTLI,ThisTimeLineID)));
90329032

90339033
/*

‎src/backend/replication/walreceiver.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ WalReceiverMain(void)
438438
{
439439
ereport(LOG,
440440
(errmsg("replication terminated by primary server"),
441-
errdetail("End of WAL reached on timeline %u at %X/%X",
441+
errdetail("End of WAL reached on timeline %u at %X/%X.",
442442
startpointTLI,
443443
(uint32) (LogstreamResult.Write >>32), (uint32)LogstreamResult.Write)));
444444
endofwal= true;
@@ -927,7 +927,7 @@ XLogWalRcvWrite(char *buf, Size nbytes, XLogRecPtr recptr)
927927
if (lseek(recvFile, (off_t)startoff,SEEK_SET)<0)
928928
ereport(PANIC,
929929
(errcode_for_file_access(),
930-
errmsg("could not seek in log segment %s, to offset %u: %m",
930+
errmsg("could not seek in log segment %s to offset %u: %m",
931931
XLogFileNameP(recvFileTLI,recvSegNo),
932932
startoff)));
933933
recvOff=startoff;

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ StartReplication(StartReplicationCmd *cmd)
485485
(uint32) (cmd->startpoint >>32),
486486
(uint32) (cmd->startpoint),
487487
cmd->timeline),
488-
errdetail("This server's history forked from timeline %u at %X/%X",
488+
errdetail("This server's history forked from timeline %u at %X/%X.",
489489
cmd->timeline,
490490
(uint32) (switchpoint >>32),
491491
(uint32) (switchpoint))));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp