diff options
| author | Peter Eisentraut | 2013-07-28 10:59:09 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2013-07-28 11:01:13 +0000 |
| commit | 626092a2e1784479b17810956b4654acf5b5ec11 (patch) | |
| tree | f32314e586059dba3189067b2eb7b2e60679eb6a /src/backend/access | |
| parent | 815fcd050fbe18976c51af59116d60a6be5f3e41 (diff) | |
Message style improvements
Diffstat (limited to 'src/backend/access')
| -rw-r--r-- | src/backend/access/transam/timeline.c | 2 | ||||
| -rw-r--r-- | src/backend/access/transam/xlog.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/transam/timeline.c b/src/backend/access/transam/timeline.c index 7bb523a4fb4..e47134a65a0 100644 --- a/src/backend/access/transam/timeline.c +++ b/src/backend/access/transam/timeline.c @@ -150,7 +150,7 @@ readTimeLineHistory(TimeLineID targetTLI) if (nfields != 3) ereport(FATAL, (errmsg("syntax error in history file: %s", fline), - errhint("Expected an XLOG switchpoint location."))); + errhint("Expected a transaction log switchpoint location."))); if (result && tli <= lasttli) ereport(FATAL, diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 96aceb9e087..16bf78d77f1 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -3721,7 +3721,7 @@ XLogFileOpen(XLogSegNo segno) if (fd < 0) ereport(PANIC, (errcode_for_file_access(), - errmsg("could not open xlog file \"%s\": %m", path))); + errmsg("could not open transaction log file \"%s\": %m", path))); return fd; } @@ -6281,7 +6281,7 @@ StartupXLOG(void) ereport(FATAL, (errmsg("requested timeline %u is not a child of this server's history", recoveryTargetTLI), - 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", + 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.", (uint32) (ControlFile->checkPoint >> 32), (uint32) ControlFile->checkPoint, ControlFile->checkPointCopy.ThisTimeLineID, @@ -9027,7 +9027,7 @@ checkTimeLineSwitch(XLogRecPtr lsn, TimeLineID newTLI, TimeLineID prevTLI) /* Check that the record agrees on what the current (old) timeline is */ if (prevTLI != ThisTimeLineID) ereport(PANIC, - (errmsg("unexpected prev timeline ID %u (current timeline ID %u) in checkpoint record", + (errmsg("unexpected previous timeline ID %u (current timeline ID %u) in checkpoint record", prevTLI, ThisTimeLineID))); /* |
