Skip to content

Commit 61a4480

Browse files
Remove obsolete nbtree duplicate entries comment.
Remove a comment from the Berkeley days claiming that nbtree must disambiguate duplicate keys within _bt_moveright(). There is no special care taken around duplicates within _bt_moveright(), at least since commit 9e85183 removed inscrutable _bt_moveright() code to handle pages full of duplicates.
1 parent 60f3cc9 commit 61a4480

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
static void

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy