1. Andrew Dunstan
  2. pgdevel

Commits

Heikki Linnakangas  committed 2d8c81a

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

  • Participants
  • Parent commits ff8f160
  • Branches master

Comments (0)

Files changed (1)

File src/backend/access/transam/xlog.c

View file
  • Ignore whitespace
 				if (readFile < 0)
 				{
 					readFile = XLogFileRead(readSegNo, PANIC,
-											curFileTLI,
+											recoveryTargetTLI,
 											XLOG_FROM_STREAM, false);
 					Assert(readFile >= 0);
 				}