postgres.git / summary / log / commit / refs
commit 8f5dcb56cb1877f7ed6b0f3f72cc26c4e060aa61
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: Fri Nov 21 10:13:10 2014 +0000
First released in: 9.5.0
Fix bogus comments in XLogRecordAssemble
Pointed out by Michael Paquier
src/backend/access/transam/xloginsert.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/access/transam/xloginsert.c b/src/backend/access/transam/xloginsert.c
index 89c407e521b..fe204313024 100644
--- a/src/backend/access/transam/xloginsert.c
+++ b/src/backend/access/transam/xloginsert.c
@@ -435,12 +435,12 @@ XLogInsert(RmgrId rmid, uint8 info)
* XLogRecData chain, ready for insertion with XLogInsertRecord().
*
* The record header fields are filled in, except for the xl_prev field. The
- * calculated CRC does not include xl_prev either.
+ * calculated CRC does not include the record header yet.
*
* If there are any registered buffers, and a full-page image was not taken
- * of all them, *page_writes_omitted is set to true. This signals that the
- * assembled record is only good for insertion on the assumption that the
- * RedoRecPtr and doPageWrites values were up-to-date.
+ * of all of them, *fpw_lsn is set to the lowest LSN among such pages. This
+ * signals that the assembled record is only good for insertion on the
+ * assumption that the RedoRecPtr and doPageWrites values were up-to-date.
*/
static XLogRecData *
XLogRecordAssemble(RmgrId rmid, uint8 info,
[parent: 3a82bc6f8ab3]