1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

nbtree: Correct inaccurate split location comment.

Minor oversight in commit fab2502433.
This commit is contained in:
Peter Geoghegan
2020-06-29 12:30:39 -07:00
parent 16e3ad5d14
commit f7a476f0d6

View File

@ -190,7 +190,7 @@ _bt_findsplitloc(Relation rel,
Assert(!BTreeTupleIsPosting(newitem)); Assert(!BTreeTupleIsPosting(newitem));
/* /*
* maxsplits should never exceed maxoff because there will be at most as * nsplits should never exceed maxoff because there will be at most as
* many candidate split points as there are points _between_ tuples, once * many candidate split points as there are points _between_ tuples, once
* you imagine that the new item is already on the original page (the * you imagine that the new item is already on the original page (the
* final number of splits may be slightly lower because not all points * final number of splits may be slightly lower because not all points