postgres.git / summary / log / commit / refs

commit    4c6afd805b8db3492c8f409ecdba192d853fd571
Author:   Peter Geoghegan <pg@bowt.ie>
Date:     Wed Oct 27 21:35:21 2021 +0000
First released in: 15.0

    Remove obsolete nbtree LP_DEAD item comments.
    
    Comments above _bt_findinsertloc() that talk about LP_DEAD items are now
    out of place.  We already discuss index tuple deletion at an earlier
    point in the same comment block.
    
    Oversight in commit d168b666.


src/backend/access/nbtree/nbtinsert.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index 1241c562397..ccddb037820 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/src/backend/access/nbtree/nbtinsert.c @@ -807,9 +807,6 @@ _bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel, * If insertstate contains cached binary search bounds, we will take * advantage of them. This avoids repeating comparisons that we made in * _bt_check_unique() already. - * - * If there is not enough room on the page for the new tuple, we try to - * make room by removing any LP_DEAD tuples. */ static OffsetNumber _bt_findinsertloc(Relation rel, [parent: 77ea4f94393e]