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
bd305f3f
Commit
bd305f3f
authored
Oct 22, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix multi-column index scans in internal pages.
parent
8f4559d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/backend/access/nbtree/nbtsearch.c
src/backend/access/nbtree/nbtsearch.c
+9
-3
No files found.
src/backend/access/nbtree/nbtsearch.c
View file @
bd305f3f
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.2
6 1997/09/08 20:54:27 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtsearch.c,v 1.2
7 1997/10/22 19:02:52 vadim
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -197,8 +197,12 @@ _bt_moveright(Relation rel,
* if number of attrs > keysize. Example: (2,0) - last items
* on this page, (2,1) - first item on next page (hikey), our
* scankey is x = 2. Scankey == (2,1) because of we compare
* first attrs only, but we shouldn't to move right of here. -
* vadim 04/15/97
* first attrs only, but we shouldn't to move right of here.
* - vadim 04/15/97
*
* Also, if this page is not LEAF one (and # of attrs > keysize)
* then we can't move too.
* - vadim 10/22/97
*/
if
(
_bt_skeycmp
(
rel
,
keysz
,
scankey
,
page
,
hikey
,
...
...
@@ -227,6 +231,8 @@ _bt_moveright(Relation rel,
elog
(
FATAL
,
"btree: unexpected greater last item"
);
/* move right */
}
else
if
(
!
(
opaque
->
btpo_flags
&
BTP_LEAF
))
break
;
else
if
(
_bt_skeycmp
(
rel
,
keysz
,
scankey
,
page
,
PageGetItemId
(
page
,
offmax
),
BTLessEqualStrategyNumber
))
...
...
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