projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e3ad5
)
nbtree: Correct inaccurate split location comment.
author
Peter Geoghegan
<pg@bowt.ie>
Mon, 29 Jun 2020 19:30:39 +0000
(12:30 -0700)
committer
Peter Geoghegan
<pg@bowt.ie>
Mon, 29 Jun 2020 19:30:39 +0000
(12:30 -0700)
Minor oversight in commit
fab25024338
.
src/backend/access/nbtree/nbtsplitloc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/nbtree/nbtsplitloc.c
b/src/backend/access/nbtree/nbtsplitloc.c
index fcfc23ce601a33d6a60e0a7de1ea97ae5087d408..ef6dd1cf1920b6b79f47680df44633218d42127a 100644
(file)
--- a/
src/backend/access/nbtree/nbtsplitloc.c
+++ b/
src/backend/access/nbtree/nbtsplitloc.c
@@
-190,7
+190,7
@@
_bt_findsplitloc(Relation rel,
Assert(!BTreeTupleIsPosting(newitem));
/*
- *
max
splits should never exceed maxoff because there will be at most as
+ *
n
splits should never exceed maxoff because there will be at most as
* many candidate split points as there are points _between_ tuples, once
* 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