Skip to content

Commit 8f5dcb5

Browse files
committed
Fix bogus comments in XLogRecordAssemble
Pointed out by Michael Paquier
1 parent 3a82bc6 commit 8f5dcb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/access/transam/xloginsert.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,12 +435,12 @@ XLogInsert(RmgrId rmid, uint8 info)
435435
* XLogRecData chain, ready for insertion with XLogInsertRecord().
436436
*
437437
* The record header fields are filled in, except for the xl_prev field. The
438-
* calculated CRC does not include xl_prev either.
438+
* calculated CRC does not include the record header yet.
439439
*
440440
* If there are any registered buffers, and a full-page image was not taken
441-
* of all them, *page_writes_omitted is set to true. This signals that the
442-
* assembled record is only good for insertion on the assumption that the
443-
* RedoRecPtr and doPageWrites values were up-to-date.
441+
* of all of them, *fpw_lsn is set to the lowest LSN among such pages. This
442+
* signals that the assembled record is only good for insertion on the
443+
* assumption that the RedoRecPtr and doPageWrites values were up-to-date.
444444
*/
445445
static XLogRecData *
446446
XLogRecordAssemble(RmgrId rmid, uint8 info,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy