Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8716b26

Browse files
committed
minor comment fixes in nbtinsert.c
1 parent231bcd0 commit8716b26

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 haveanincomplete split.
188+
*Butbe paranoid and check for it anyway.
190189
*/
191190
Assert(!P_INCOMPLETE_SPLIT(lpageop));
192191
fastpath= true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp