Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f7a476f

Browse files
nbtree: Correct inaccurate split location comment.
Minor oversight in commit fab2502.
1 parent 16e3ad5 commit f7a476f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/nbtree/nbtsplitloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ _bt_findsplitloc(Relation rel,
190190
Assert(!BTreeTupleIsPosting(newitem));
191191

192192
/*
193-
* maxsplits should never exceed maxoff because there will be at most as
193+
* nsplits should never exceed maxoff because there will be at most as
194194
* many candidate split points as there are points _between_ tuples, once
195195
* you imagine that the new item is already on the original page (the
196196
* final number of splits may be slightly lower because not all points

0 commit comments

Comments
 (0)