summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2018-04-10 22:35:56 +0000
committerAndrew Dunstan2018-04-10 22:36:40 +0000
commit8716b264ed845370e33943da93caf424dc3723b7 (patch)
treeec825b31fec90d19a405e7d7db16b2209b577a10
parent231bcd0803eb91c526d4e7522c993fa5ed71bd45 (diff)
minor comment fixes in nbtinsert.c
-rw-r--r--src/backend/access/nbtree/nbtinsert.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c
index 995cc61b4cf..3ef861494b7 100644
--- a/src/backend/access/nbtree/nbtinsert.c
+++ b/src/backend/access/nbtree/nbtinsert.c
@@ -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;