mirror of
https://github.com/postgres/postgres.git
synced 2025-10-31 10:30:33 +03:00
Remove useless argument from nbtree dedup function.
_bt_dedup_pass()'s heapRel argument hasn't been needed or used since
commit cf2acaf4dc made deleting any existing LP_DEAD index tuples the
caller's responsibility.
This commit is contained in:
@@ -2769,8 +2769,8 @@ _bt_delete_or_dedup_one_page(Relation rel, Relation heapRel,
|
||||
|
||||
/* Perform deduplication pass (when enabled and index-is-allequalimage) */
|
||||
if (BTGetDeduplicateItems(rel) && itup_key->allequalimage)
|
||||
_bt_dedup_pass(rel, buffer, heapRel, insertstate->itup,
|
||||
insertstate->itemsz, (indexUnchanged || uniquedup));
|
||||
_bt_dedup_pass(rel, buffer, insertstate->itup, insertstate->itemsz,
|
||||
(indexUnchanged || uniquedup));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user