Commit da8f26ec authored by Peter Eisentraut's avatar Peter Eisentraut

Fix typo in comment

Author: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
parent 1acc04e4
...@@ -4221,10 +4221,10 @@ ReadRecord(XLogReaderState *xlogreader, XLogRecPtr RecPtr, int emode, ...@@ -4221,10 +4221,10 @@ ReadRecord(XLogReaderState *xlogreader, XLogRecPtr RecPtr, int emode,
* pg_wal, so we are presumably now consistent. * pg_wal, so we are presumably now consistent.
* *
* We require that there's at least some valid WAL present in * We require that there's at least some valid WAL present in
* pg_wal, however (!fetch_ckpt). We could recover using the WAL * pg_wal, however (!fetching_ckpt). We could recover using the
* from the archive, even if pg_wal is completely empty, but we'd * WAL from the archive, even if pg_wal is completely empty, but
* have no idea how far we'd have to replay to reach consistency. * we'd have no idea how far we'd have to replay to reach
* So err on the safe side and give up. * consistency. So err on the safe side and give up.
*/ */
if (!InArchiveRecovery && ArchiveRecoveryRequested && if (!InArchiveRecovery && ArchiveRecoveryRequested &&
!fetching_ckpt) !fetching_ckpt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment