From 4c6afd805b8db3492c8f409ecdba192d853fd571 Mon Sep 17 00:00:00 2001 From: Peter Geoghegan Date: Wed, 27 Oct 2021 14:35:21 -0700 Subject: [PATCH] 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 1241c56239..ccddb03782 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, -- 2.11.4.GIT