From: Heikki Linnakangas Date: Fri, 21 Nov 2014 10:13:10 +0000 (+0200) Subject: Fix bogus comments in XLogRecordAssemble X-Git-Tag: REL9_5_ALPHA1~1171 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=8f5dcb56cb1877f7ed6b0f3f72cc26c4e060aa61;p=postgresql.git Fix bogus comments in XLogRecordAssemble Pointed out by Michael Paquier --- 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,