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

Commit61a4480

Browse files
Remove obsolete nbtree duplicate entries comment.
Remove a comment from the Berkeley days claiming that nbtree mustdisambiguate duplicate keys within _bt_moveright(). There is no specialcare taken around duplicates within _bt_moveright(), at least sincecommit9e85183 removed inscrutable _bt_moveright() code to handlepages full of duplicates.
1 parent60f3cc9 commit61a4480

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/backend/access/nbtree/nbtinsert.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,10 +814,7 @@ _bt_findinsertloc(Relation rel,
814814
*INCOMPLETE_SPLIT flag on it, and release the buffer.
815815
*
816816
*The locking interactions in this code are critical. You should
817-
*grok Lehman and Yao's paper before making any changes. In addition,
818-
*you need to understand how we disambiguate duplicate keys in this
819-
*implementation, in order to be able to find our location using
820-
*L&Y "move right" operations.
817+
*grok Lehman and Yao's paper before making any changes.
821818
*----------
822819
*/
823820
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp