projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94dff4
)
Emit msg correctly for timeline-crossing crash
author
Simon Riggs
Sun, 19 May 2013 16:00:18 +0000
(17:00 +0100)
committer
Simon Riggs
Sun, 19 May 2013 16:00:18 +0000
(17:00 +0100)
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index ce31c05492caf3720e739052861d2da5a3b8c07f..ceb20b79172d78456a06dcc1333072e37775951d 100644
(file)
--- 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",