diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-10-24 11:50:02 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-10-24 11:50:41 +0300 |
commit | 80eba5981e0fa8af93c3ea173745a13f2f38a043 (patch) | |
tree | 02d54041fd464f34d0f2314525466723506124f1 /src/backend/access/transam/xlogreader.c | |
parent | f90d7426ed3605ab925910a387783163763833fa (diff) | |
download | postgresql-80eba5981e0fa8af93c3ea173745a13f2f38a043.tar.gz postgresql-80eba5981e0fa8af93c3ea173745a13f2f38a043.zip |
Fix typos in comments.
Diffstat (limited to 'src/backend/access/transam/xlogreader.c')
-rw-r--r-- | src/backend/access/transam/xlogreader.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c index 6c971f30a2b..f1b52bfe4fa 100644 --- a/src/backend/access/transam/xlogreader.c +++ b/src/backend/access/transam/xlogreader.c @@ -161,7 +161,7 @@ allocate_recordbuf(XLogReaderState *state, uint32 reclength) /* * Attempt to read an XLOG record. * - * If RecPtr is not NULL, try to read a record at that position. Otherwise + * If RecPtr is valid, try to read a record at that position. Otherwise * try to read a record just after the last one previously read. * * If the read_page callback fails to read the requested data, NULL is @@ -901,10 +901,10 @@ ValidXLogPageHeader(XLogReaderState *state, XLogRecPtr recptr, */ /* - * Find the first record with at an lsn >= RecPtr. + * Find the first record with an lsn >= RecPtr. * - * Useful for checking whether RecPtr is a valid xlog address for reading and to - * find the first valid address after some address when dumping records for + * Useful for checking whether RecPtr is a valid xlog address for reading, and + * to find the first valid address after some address when dumping records for * debugging purposes. */ XLogRecPtr |