aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-10-09 19:33:12 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-10-09 19:33:12 +0300
commit2d8c81ac867d919b7d11120b01a6a327fef6a2ef (patch)
treebdbf14b9e8924934be6849966c8001a02da36b0e /src/backend/access/transam/xlog.c
parentff8f160bf4322c4294deaa0e64ed26467283d525 (diff)
downloadpostgresql-2d8c81ac867d919b7d11120b01a6a327fef6a2ef.tar.gz
postgresql-2d8c81ac867d919b7d11120b01a6a327fef6a2ef.zip
Fix silly bug in previous refactoring.
I extracted the refactoring patch from a larger patch that contained other changes too, but missed one unintentional change and didn't test enough...
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-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 17ceda3b1ad..d251d08b190 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -9499,7 +9499,7 @@ WaitForWALToBecomeAvailable(XLogRecPtr RecPtr, bool randAccess,
if (readFile < 0)
{
readFile = XLogFileRead(readSegNo, PANIC,
- curFileTLI,
+ recoveryTargetTLI,
XLOG_FROM_STREAM, false);
Assert(readFile >= 0);
}