Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
b4c7a565
Commit
b4c7a565
authored
26 years ago
by
Vadim B. Mikheev
Browse files
Options
Downloads
Patches
Plain Diff
Patch from "Hiroshi Inoue" <Inoue@tpf.co.jp> for
FATAL 1:btree: BTP_CHAIN flag was expected
parent
34a84add
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/access/nbtree/nbtinsert.c
+9
-14
9 additions, 14 deletions
src/backend/access/nbtree/nbtinsert.c
with
9 additions
and
14 deletions
src/backend/access/nbtree/nbtinsert.c
+
9
−
14
View file @
b4c7a565
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.3
8
1999/0
4/22 08:19:59
vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.3
9
1999/0
5/01 16:09:45
vadim Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -587,9 +587,6 @@ l_spl:;
}
/* create a new root node and release the split buffers */
_bt_newroot
(
rel
,
buf
,
rbuf
);
_bt_relbuf
(
rel
,
buf
,
BT_WRITE
);
_bt_relbuf
(
rel
,
rbuf
,
BT_WRITE
);
}
else
{
...
...
@@ -706,8 +703,8 @@ l_spl:;
{
_bt_updateitem
(
rel
,
keysz
,
pbuf
,
stack
->
bts_btitem
,
lowLeftItem
);
_bt_
rel
buf
(
rel
,
buf
,
BT_WRITE
);
_bt_
rel
buf
(
rel
,
rbuf
,
BT_WRITE
);
_bt_
wrt
buf
(
rel
,
buf
);
_bt_
wrt
buf
(
rel
,
rbuf
);
}
else
{
...
...
@@ -729,11 +726,9 @@ l_spl:;
/*
* Unlock the children before doing this
*
* Mmm ... I foresee problems here. - vadim 06/10/97
*/
_bt_
rel
buf
(
rel
,
buf
,
BT_WRITE
);
_bt_
rel
buf
(
rel
,
rbuf
,
BT_WRITE
);
_bt_
wrt
buf
(
rel
,
buf
);
_bt_
wrt
buf
(
rel
,
rbuf
);
/*
* A regular _bt_binsrch should find the right place
...
...
@@ -758,8 +753,8 @@ l_spl:;
}
else
{
_bt_
rel
buf
(
rel
,
buf
,
BT_WRITE
);
_bt_
rel
buf
(
rel
,
rbuf
,
BT_WRITE
);
_bt_
wrt
buf
(
rel
,
buf
);
_bt_
wrt
buf
(
rel
,
rbuf
);
}
newskey
=
_bt_mkscankey
(
rel
,
&
(
new_item
->
bti_itup
));
...
...
@@ -1195,8 +1190,8 @@ _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf)
/* update metadata page with new root block number */
_bt_metaproot
(
rel
,
rootbknum
,
0
);
WriteNoReleaseBuffer
(
lbuf
);
WriteNoReleaseBuffer
(
rbuf
);
_bt_wrtbuf
(
rel
,
lbuf
);
_bt_wrtbuf
(
rel
,
rbuf
);
}
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment