]> granicus.if.org Git - postgresql/commitdiff
Fix typo in comment
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 30 Jun 2017 18:48:43 +0000 (14:48 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 30 Jun 2017 18:48:43 +0000 (14:48 -0400)
Author: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>

src/backend/access/transam/xlog.c

index 0a6314a64267a232d201b195c46944bb13e0b5c2..5b6cec8deed3c6b3e5f821c62a402c04cc89e097 100644 (file)
@@ -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)