@@ -161,7 +161,7 @@ allocate_recordbuf(XLogReaderState *state, uint32 reclength)
161
161
/*
162
162
* Attempt to read an XLOG record.
163
163
*
164
- * If RecPtr isnot NULL , try to read a record at that position. Otherwise
164
+ * If RecPtr isvalid , try to read a record at that position. Otherwise
165
165
* try to read a record just after the last one previously read.
166
166
*
167
167
* If the read_page callback fails to read the requested data, NULL is
@@ -901,10 +901,10 @@ ValidXLogPageHeader(XLogReaderState *state, XLogRecPtr recptr,
901
901
*/
902
902
903
903
/*
904
- * Find the first record withat an lsn >= RecPtr.
904
+ * Find the first record with an lsn >= RecPtr.
905
905
*
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
908
908
* debugging purposes.
909
909
*/
910
910
XLogRecPtr