File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ of optimising for performance. When a hint is written we use
624
624
MarkBufferDirtyHint() to mark the block dirty.
625
625
626
626
If the buffer is clean and checksums are in use then
627
- MarkBufferDirtyHint() inserts an XLOG_HINT record to ensure that we
627
+ MarkBufferDirtyHint() inserts an XLOG_FPI record to ensure that we
628
628
take a full page image that includes the hint. We do this to avoid
629
629
a partial page write, when we write the dirtied page. WAL is not
630
630
written during recovery, so we simply skip dirtying blocks because
Original file line number Diff line number Diff line change @@ -3015,7 +3015,7 @@ IncrBufferRefCount(Buffer buffer)
3015
3015
* This is essentially the same as MarkBufferDirty, except:
3016
3016
*
3017
3017
* 1. The caller does not write WAL; so if checksums are enabled, we may need
3018
- * to write an XLOG_HINT WAL record to protect against torn pages.
3018
+ * to write an XLOG_FPI WAL record to protect against torn pages.
3019
3019
* 2. The caller might have only share-lock instead of exclusive-lock on the
3020
3020
* buffer's content lock.
3021
3021
* 3. This function does not guarantee that the buffer is always marked dirty
You can’t perform that action at this time.
0 commit comments