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

Commit5b14ec0

Browse files
Fix obsolete nbtree README left link remarks.
Oversight in commit1bd4bc8, which made nbtree backwards scans operateoff of a copy of each page's left link as of the time of its call to_bt_readpage.
1 parent3d0b4b1 commit5b14ec0

File tree

1 file changed

+3
-3
lines changed
  • src/backend/access/nbtree

1 file changed

+3
-3
lines changed

‎src/backend/access/nbtree/README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ cannot miss any items it should have seen, nor accidentally return the same
9999
item twice. The scan must remember the page's right-link at the time it
100100
was scanned, since that is the page to move right to; if we move right to
101101
the current right-link then we'd re-scan any items moved by a page split.
102-
Wedon't similarlyremember the left-link,since it's best to use the most
103-
up-to-date left-link when tryingtomove left (see detailed move-left
104-
algorithm below).
102+
Wealsoremember the left-link,and follow it when the scan moves backwards
103+
(though this requires extra handlingtoaccount for concurrent splits of
104+
the left sibling; see detailed move-leftalgorithm below).
105105

106106
In most cases we release our lock and pin on a page before attempting
107107
to acquire pin and lock on the page we are moving to. In a few places

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp