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

Commit219c024

Browse files
committed
Repair out-of-date information in src/backend/storage/buffer/README.
In commitd526575, we changed things sothat buffer usage counts are incremented when the buffer is pinned, ratherthan when it is unpinned, but the README file didn't get the memo.Report by Amit Kapila.
1 parentb94ce6e commit219c024

File tree

1 file changed

+2
-2
lines changed
  • src/backend/storage/buffer

1 file changed

+2
-2
lines changed

‎src/backend/storage/buffer/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ need to take system-wide locks during common operations. It works like
169169
this:
170170

171171
Each buffer header contains a usage counter, which is incremented (up to a
172-
small limit value) whenever the buffer isunpinned. (This requires only the
173-
buffer header spinlock, which would have to be taken anyway todecrement the
172+
small limit value) whenever the buffer ispinned. (This requires only the
173+
buffer header spinlock, which would have to be taken anyway toincrement the
174174
buffer reference count, so it's nearly free.)
175175

176176
The "clock hand" is a buffer index, NextVictimBuffer, that moves circularly

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp