aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-02 13:42:15 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-02 13:44:59 +0200
commit4ffd589f44b8687cee1714c5c63f03487b2ae570 (patch)
tree11a6b77e99391db237bbe4b8e1c565178b2be399 /src
parentbd61a623ace3f3db8da1c7936416706968ae6ec2 (diff)
downloadpostgresql-4ffd589f44b8687cee1714c5c63f03487b2ae570.tar.gz
postgresql-4ffd589f44b8687cee1714c5c63f03487b2ae570.zip
Fix silly typo in code, which broke the check for reaching consistency.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index e730427d3ef..b43412d605a 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -5702,7 +5702,7 @@ StartupXLOG(void)
xlogctl->replayEndRecPtr = ReadRecPtr;
xlogctl->replayEndTLI = ThisTimeLineID;
xlogctl->lastReplayedEndRecPtr = EndRecPtr;
- xlogctl->lastReplayedEndRecPtr = ThisTimeLineID;
+ xlogctl->lastReplayedTLI = ThisTimeLineID;
xlogctl->recoveryLastXTime = 0;
xlogctl->currentChunkStartTime = 0;
xlogctl->recoveryPause = false;