Skip to content

Commit b27e1b3

Browse files
nbtree: Remove obsolete _bt_pgaddtup() comments.
Remove comments that are a throw back to a time when nbtree cared about write-ordering dependencies. The comments are similar to those removed by commit 9ee7414, among others.
1 parent 2fd6a44 commit b27e1b3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,11 +2531,6 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
25312531
/*
25322532
* _bt_pgaddtup() -- add a data item to a particular page during split.
25332533
*
2534-
* This routine adds the tuple to the page as requested. It does
2535-
* not affect pin/lock status, but you'd better have a write lock
2536-
* and pin on the target buffer! Don't forget to write and release
2537-
* the buffer afterwards, either.
2538-
*
25392534
* The difference between this routine and a bare PageAddItem call is
25402535
* that this code knows that the leftmost data item on an internal
25412536
* btree page has a key that must be treated as minus infinity.

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