mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
minor comment fixes in nbtinsert.c
This commit is contained in:
@ -173,9 +173,8 @@ top:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if the page is still the rightmost leaf page, has enough
|
* Check if the page is still the rightmost leaf page, has enough
|
||||||
* free space to accommodate the new tuple, no split is in
|
* free space to accommodate the new tuple, and the insertion
|
||||||
* progress, and the insertion scan key is strictly greater than
|
* scan key is strictly greater than the first key on the page.
|
||||||
* the first key on the page.
|
|
||||||
*/
|
*/
|
||||||
if (P_ISLEAF(lpageop) && P_RIGHTMOST(lpageop) &&
|
if (P_ISLEAF(lpageop) && P_RIGHTMOST(lpageop) &&
|
||||||
!P_IGNORE(lpageop) &&
|
!P_IGNORE(lpageop) &&
|
||||||
@ -185,8 +184,8 @@ top:
|
|||||||
P_FIRSTDATAKEY(lpageop)) > 0)
|
P_FIRSTDATAKEY(lpageop)) > 0)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* The right-most block should never have incomplete split. But
|
* The right-most block should never have an incomplete split.
|
||||||
* be paranoid and check for it anyway.
|
* But be paranoid and check for it anyway.
|
||||||
*/
|
*/
|
||||||
Assert(!P_INCOMPLETE_SPLIT(lpageop));
|
Assert(!P_INCOMPLETE_SPLIT(lpageop));
|
||||||
fastpath = true;
|
fastpath = true;
|
||||||
|
Reference in New Issue
Block a user