diff options
| author | Peter Geoghegan <pg@bowt.ie> | 2023-04-18 10:33:15 -0700 |
|---|---|---|
| committer | Peter Geoghegan <pg@bowt.ie> | 2023-04-18 10:33:15 -0700 |
| commit | 06e0652750e347bc3bf1dbb88d6a2a5d9b6f8faa (patch) | |
| tree | 449fff52564d931ce32d1e17ea32d797c05edb5d /src/include/access | |
| parent | b124104e73c0e91714969e1ae24d661264c76b96 (diff) | |
| download | postgresql-06e0652750e347bc3bf1dbb88d6a2a5d9b6f8faa.tar.gz | |
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.
Diffstat (limited to 'src/include/access')
| -rw-r--r-- | src/include/access/nbtree.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h index 953bf6586b..d684786095 100644 --- a/src/include/access/nbtree.h +++ b/src/include/access/nbtree.h @@ -1157,9 +1157,8 @@ extern void _bt_parallel_advance_array_keys(IndexScanDesc scan); /* * prototypes for functions in nbtdedup.c */ -extern void _bt_dedup_pass(Relation rel, Buffer buf, Relation heapRel, - IndexTuple newitem, Size newitemsz, - bool bottomupdedup); +extern void _bt_dedup_pass(Relation rel, Buffer buf, IndexTuple newitem, + Size newitemsz, bool bottomupdedup); extern bool _bt_bottomupdel_pass(Relation rel, Buffer buf, Relation heapRel, Size newitemsz); extern void _bt_dedup_start_pending(BTDedupState state, IndexTuple base, |
