diff options
Diffstat (limited to 'src/bin/pg_rewind/parsexlog.c')
-rw-r--r-- | src/bin/pg_rewind/parsexlog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_rewind/parsexlog.c b/src/bin/pg_rewind/parsexlog.c index 9e0e4a6ce47..b53591d02a1 100644 --- a/src/bin/pg_rewind/parsexlog.c +++ b/src/bin/pg_rewind/parsexlog.c @@ -261,15 +261,15 @@ SimpleXLogPageRead(XLogReaderState *xlogreader, XLogRecPtr targetPagePtr, /* * Since incomplete segments are copied into next timelines, switch to - * the timeline holding the required segment. Assuming this scan can be - * done both forward and backward, consider also switching timeline + * the timeline holding the required segment. Assuming this scan can + * be done both forward and backward, consider also switching timeline * accordingly. */ while (private->tliIndex < targetNentries - 1 && - targetHistory[private->tliIndex].end < targetSegEnd) + targetHistory[private->tliIndex].end < targetSegEnd) private->tliIndex++; while (private->tliIndex > 0 && - targetHistory[private->tliIndex].begin >= targetSegEnd) + targetHistory[private->tliIndex].begin >= targetSegEnd) private->tliIndex--; XLogFileName(xlogfname, targetHistory[private->tliIndex].tli, xlogreadsegno); |