Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8716b264
Commit
8716b264
authored
Apr 10, 2018
by
Andrew Dunstan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor comment fixes in nbtinsert.c
parent
231bcd08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtinsert.c
+4
-5
No files found.
src/backend/access/nbtree/nbtinsert.c
View file @
8716b264
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment