mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Fix typo in comment
Author: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
This commit is contained in:
parent
1acc04e404
commit
da8f26ec4e
@ -4221,10 +4221,10 @@ ReadRecord(XLogReaderState *xlogreader, XLogRecPtr RecPtr, int emode,
|
||||
* pg_wal, so we are presumably now consistent.
|
||||
*
|
||||
* We require that there's at least some valid WAL present in
|
||||
* pg_wal, however (!fetch_ckpt). We could recover using the WAL
|
||||
* from the archive, even if pg_wal is completely empty, but we'd
|
||||
* have no idea how far we'd have to replay to reach consistency.
|
||||
* So err on the safe side and give up.
|
||||
* pg_wal, however (!fetching_ckpt). We could recover using the
|
||||
* WAL from the archive, even if pg_wal is completely empty, but
|
||||
* we'd have no idea how far we'd have to replay to reach
|
||||
* consistency. So err on the safe side and give up.
|
||||
*/
|
||||
if (!InArchiveRecovery && ArchiveRecoveryRequested &&
|
||||
!fetching_ckpt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user