aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-30 14:48:43 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-06-30 14:48:43 -0400
commitda8f26ec4eb6e3dced9e348efefac17d733008c0 (patch)
treec077841403f69587e2c52ecac89a77648306d0ff /src/backend/access/transam/xlog.c
parent1acc04e4045d4e863c14d144f8c2bf18b80da504 (diff)
downloadpostgresql-da8f26ec4eb6e3dced9e348efefac17d733008c0.tar.gz
postgresql-da8f26ec4eb6e3dced9e348efefac17d733008c0.zip
Fix typo in comment
Author: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 0a6314a6426..5b6cec8deed 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -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)