Remove obsolete nbtree LP_DEAD item comments.
authorPeter Geoghegan <[email protected]>
Wed, 27 Oct 2021 21:35:21 +0000 (14:35 -0700)
committerPeter Geoghegan <[email protected]>
Wed, 27 Oct 2021 21:35:21 +0000 (14:35 -0700)
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

index 1241c56239721446a473f8aebd12c1df06945f02..ccddb037820c19348ddcaca60869625a990557e1 100644 (file)
@@ -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,