]> granicus.if.org Git - postgresql/commitdiff
minor comment fixes in nbtinsert.c
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 10 Apr 2018 22:35:56 +0000 (18:35 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 10 Apr 2018 22:36:40 +0000 (18:36 -0400)
src/backend/access/nbtree/nbtinsert.c

index 995cc61b4cf9f730ed526901f5b8e40af71651c0..3ef861494b7740765dd5f57be9e1c1502796bf96 100644 (file)
@@ -173,9 +173,8 @@ top:
 
                        /*
                         * Check if the page is still the rightmost leaf page, has enough
-                        * free space to accommodate the new tuple, no split is in
-                        * progress, and the insertion scan key is strictly greater than
-                        * the first key on the page.
+                        * free space to accommodate the new tuple, and the insertion
+                        * scan key is strictly greater than the first key on the page.
                         */
                        if (P_ISLEAF(lpageop) && P_RIGHTMOST(lpageop) &&
                                !P_IGNORE(lpageop) &&
@@ -185,8 +184,8 @@ top:
                                                        P_FIRSTDATAKEY(lpageop)) > 0)
                        {
                                /*
-                                * The right-most block should never have incomplete split. But
-                                * be paranoid and check for it anyway.
+                                * The right-most block should never have an incomplete split.
+                                * But be paranoid and check for it anyway.
                                 */
                                Assert(!P_INCOMPLETE_SPLIT(lpageop));
                                fastpath = true;