From: Peter Geoghegan Date: Wed, 27 Oct 2021 21:35:21 +0000 (-0700) Subject: Remove obsolete nbtree LP_DEAD item comments. X-Git-Tag: REL_15_BETA1~1289 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c6afd805b8db3492c8f409ecdba192d853fd571;p=thirdparty%2Fpostgresql.git 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. --- 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,