Skip to content

Commit 8716b26

Browse files
committed
minor comment fixes in nbtinsert.c
1 parent 231bcd0 commit 8716b26

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,8 @@ _bt_doinsert(Relation rel, IndexTuple itup,
173173

174174
/*
175175
* Check if the page is still the rightmost leaf page, has enough
176-
* free space to accommodate the new tuple, no split is in
177-
* progress, and the insertion scan key is strictly greater than
178-
* the first key on the page.
176+
* free space to accommodate the new tuple, and the insertion
177+
* scan key is strictly greater than the first key on the page.
179178
*/
180179
if (P_ISLEAF(lpageop) && P_RIGHTMOST(lpageop) &&
181180
!P_IGNORE(lpageop) &&
@@ -185,8 +184,8 @@ _bt_doinsert(Relation rel, IndexTuple itup,
185184
P_FIRSTDATAKEY(lpageop)) > 0)
186185
{
187186
/*
188-
* The right-most block should never have incomplete split. But
189-
* be paranoid and check for it anyway.
187+
* The right-most block should never have an incomplete split.
188+
* But be paranoid and check for it anyway.
190189
*/
191190
Assert(!P_INCOMPLETE_SPLIT(lpageop));
192191
fastpath = true;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy