Typo in comment in xlog.c: ReadRecord

Started by Amit Langoteover 8 years ago3 messages
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
1 attachment(s)

Attached fixes $SUBJECT.

s/fetch_ckpt/fetching_ckpt/g

Thanks,
Amit

Attachments:

xlog-ReadRecord-typo.patchtext/plain; charset=UTF-8; name=xlog-ReadRecord-typo.patchDownload
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 0a6314a642..5b6cec8dee 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)
#2Peter Eisentraut
peter.eisentraut@2ndquadrant.com
In reply to: Amit Langote (#1)
Re: Typo in comment in xlog.c: ReadRecord

On 6/27/17 20:54, Amit Langote wrote:

Attached fixes $SUBJECT.

s/fetch_ckpt/fetching_ckpt/g

committed

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Peter Eisentraut (#2)
Re: Typo in comment in xlog.c: ReadRecord

On 2017/07/01 3:49, Peter Eisentraut wrote:

On 6/27/17 20:54, Amit Langote wrote:

Attached fixes $SUBJECT.

s/fetch_ckpt/fetching_ckpt/g

committed

Thanks.

Regards,
Amit

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers