nbtree: Correct inaccurate split location comment.
authorPeter Geoghegan <pg@bowt.ie>
Mon, 29 Jun 2020 19:30:39 +0000 (12:30 -0700)
committerPeter 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

index fcfc23ce601a33d6a60e0a7de1ea97ae5087d408..ef6dd1cf1920b6b79f47680df44633218d42127a 100644 (file)
@@ -190,7 +190,7 @@ _bt_findsplitloc(Relation rel,
    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
     * 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