diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2013-05-19 17:00:18 +0100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2013-05-19 17:00:18 +0100 |
commit | 1781744cfcfeed6e3ad2e4d52dbd475a95be03a0 (patch) | |
tree | 1070b7c430a6519c4efaf6f7997ceec8a79ece27 /src | |
parent | c94dff4c3c18595a9d6d8a97020145c1155de473 (diff) | |
download | postgresql-1781744cfcfeed6e3ad2e4d52dbd475a95be03a0.tar.gz postgresql-1781744cfcfeed6e3ad2e4d52dbd475a95be03a0.zip |
Emit msg correctly for timeline-crossing crash
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index ce31c05492c..ceb20b79172 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -5281,7 +5281,7 @@ StartupXLOG(void) ereport(LOG, (errmsg("database system was not properly shut down; " "automatic recovery in progress"))); - if (recoveryTargetTLI > 0) + if (recoveryTargetTLI > ControlFile->checkPointCopy.ThisTimeLineID) ereport(LOG, (errmsg("crash recovery starts in timeline %u " "and has target timeline %u", |