aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2021-10-27 14:35:21 -0700
committerPeter Geoghegan <pg@bowt.ie>2021-10-27 14:35:21 -0700
commit4c6afd805b8db3492c8f409ecdba192d853fd571 (patch)
tree2e81790df802fb9670446d26bf8ddbc640dead5b /src
parent77ea4f94393eb4a16df32b573bf053bedaef2e09 (diff)
downloadpostgresql-4c6afd805b8db3492c8f409ecdba192d853fd571.tar.gz
postgresql-4c6afd805b8db3492c8f409ecdba192d853fd571.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/nbtree/nbtinsert.c3
1 files changed, 0 insertions, 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,