Skip to content

Commit 4d6d425

Browse files
committed
Fix typos in comments.
1 parent 5c4dd2c commit 4d6d425

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/access/transam/xlogreader.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ allocate_recordbuf(XLogReaderState *state, uint32 reclength)
161161
/*
162162
* Attempt to read an XLOG record.
163163
*
164-
* If RecPtr is not NULL, try to read a record at that position. Otherwise
164+
* If RecPtr is valid, try to read a record at that position. Otherwise
165165
* try to read a record just after the last one previously read.
166166
*
167167
* If the read_page callback fails to read the requested data, NULL is
@@ -901,10 +901,10 @@ ValidXLogPageHeader(XLogReaderState *state, XLogRecPtr recptr,
901901
*/
902902

903903
/*
904-
* Find the first record with at an lsn >= RecPtr.
904+
* Find the first record with an lsn >= RecPtr.
905905
*
906-
* Useful for checking whether RecPtr is a valid xlog address for reading and to
907-
* find the first valid address after some address when dumping records for
906+
* Useful for checking whether RecPtr is a valid xlog address for reading, and
907+
* to find the first valid address after some address when dumping records for
908908
* debugging purposes.
909909
*/
910910
XLogRecPtr

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy