postgres.git / summary / log / commit / refs

commit    2d8c81ac867d919b7d11120b01a6a327fef6a2ef
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Tue Oct 09 16:33:12 2012 +0000
First released in: 9.3.0

    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...


src/backend/access/transam/xlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } [parent: ff8f160bf432]