aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xloginsert.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-11-21 12:13:10 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2014-11-21 12:15:27 +0200
commit8f5dcb56cb1877f7ed6b0f3f72cc26c4e060aa61 (patch)
tree64551ab0c5ba5ddb206414b7cc25b2455e10afe8 /src/backend/access/transam/xloginsert.c
parent3a82bc6f8ab38be3ed095f1c86866900b145f0f6 (diff)
downloadpostgresql-8f5dcb56cb1877f7ed6b0f3f72cc26c4e060aa61.tar.gz
postgresql-8f5dcb56cb1877f7ed6b0f3f72cc26c4e060aa61.zip
Fix bogus comments in XLogRecordAssemble
Pointed out by Michael Paquier
Diffstat (limited to 'src/backend/access/transam/xloginsert.c')
-rw-r--r--src/backend/access/transam/xloginsert.c8
1 files 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,