Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6fce92a

Browse files
committed
Finish up XLOG_HINT renaming
Commitb8fd1a0 renamed XLOG_HINT to XLOG_FPI, but neglected twoplaces.Backpatch to 9.3, like that commit.
1 parenta41b14f commit6fce92a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/access/transam/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ of optimising for performance. When a hint is written we use
624624
MarkBufferDirtyHint() to mark the block dirty.
625625

626626
If the buffer is clean and checksums are in use then
627-
MarkBufferDirtyHint() inserts anXLOG_HINT record to ensure that we
627+
MarkBufferDirtyHint() inserts anXLOG_FPI record to ensure that we
628628
take a full page image that includes the hint. We do this to avoid
629629
a partial page write, when we write the dirtied page. WAL is not
630630
written during recovery, so we simply skip dirtying blocks because

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3015,7 +3015,7 @@ IncrBufferRefCount(Buffer buffer)
30153015
* This is essentially the same as MarkBufferDirty, except:
30163016
*
30173017
* 1. The caller does not write WAL; so if checksums are enabled, we may need
3018-
* to write anXLOG_HINT WAL record to protect against torn pages.
3018+
* to write anXLOG_FPI WAL record to protect against torn pages.
30193019
* 2. The caller might have only share-lock instead of exclusive-lock on the
30203020
* buffer's content lock.
30213021
* 3. This function does not guarantee that the buffer is always marked dirty

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp