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
2d13c5f1
Commit
2d13c5f1
authored
Aug 10, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update flowchart.
parent
956b91a9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
22 deletions
+19
-22
src/backend/access/index/istrat.c
src/backend/access/index/istrat.c
+9
-15
src/tools/backend/flow.fig
src/tools/backend/flow.fig
+10
-7
src/tools/backend/flow.jpg
src/tools/backend/flow.jpg
+0
-0
No files found.
src/backend/access/index/istrat.c
View file @
2d13c5f1
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.2
1 1998/07/27 19:37:37 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/index/Attic/istrat.c,v 1.2
2 1998/08/10 14:32:44 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -381,8 +381,7 @@ RelationInvokeStrategy(Relation relation,
...
@@ -381,8 +381,7 @@ RelationInvokeStrategy(Relation relation,
termData
.
degree
=
1
;
termData
.
degree
=
1
;
strategyMap
=
strategyMap
=
IndexStrategyGetStrategyMap
(
RelationGetIndexStrategy
(
relation
),
IndexStrategyGetStrategyMap
(
RelationGetIndexStrategy
(
relation
),
evaluation
->
maxStrategy
,
evaluation
->
maxStrategy
,
attributeNumber
);
attributeNumber
);
...
@@ -393,8 +392,7 @@ RelationInvokeStrategy(Relation relation,
...
@@ -393,8 +392,7 @@ RelationInvokeStrategy(Relation relation,
termData
.
operatorData
[
0
].
strategy
=
strategy
;
termData
.
operatorData
[
0
].
strategy
=
strategy
;
termData
.
operatorData
[
0
].
flags
=
0x0
;
termData
.
operatorData
[
0
].
flags
=
0x0
;
return
return
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
}
}
...
@@ -409,8 +407,7 @@ RelationInvokeStrategy(Relation relation,
...
@@ -409,8 +407,7 @@ RelationInvokeStrategy(Relation relation,
termData
.
operatorData
[
0
].
strategy
=
newStrategy
;
termData
.
operatorData
[
0
].
strategy
=
newStrategy
;
termData
.
operatorData
[
0
].
flags
=
SK_NEGATE
;
termData
.
operatorData
[
0
].
flags
=
SK_NEGATE
;
return
return
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
}
}
}
}
...
@@ -425,8 +422,7 @@ RelationInvokeStrategy(Relation relation,
...
@@ -425,8 +422,7 @@ RelationInvokeStrategy(Relation relation,
termData
.
operatorData
[
0
].
strategy
=
newStrategy
;
termData
.
operatorData
[
0
].
strategy
=
newStrategy
;
termData
.
operatorData
[
0
].
flags
=
SK_COMMUTE
;
termData
.
operatorData
[
0
].
flags
=
SK_COMMUTE
;
return
return
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
}
}
}
}
...
@@ -441,8 +437,7 @@ RelationInvokeStrategy(Relation relation,
...
@@ -441,8 +437,7 @@ RelationInvokeStrategy(Relation relation,
termData
.
operatorData
[
0
].
strategy
=
newStrategy
;
termData
.
operatorData
[
0
].
strategy
=
newStrategy
;
termData
.
operatorData
[
0
].
flags
=
SK_NEGATE
|
SK_COMMUTE
;
termData
.
operatorData
[
0
].
flags
=
SK_NEGATE
|
SK_COMMUTE
;
return
return
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
StrategyTermEvaluate
(
&
termData
,
strategyMap
,
left
,
right
);
}
}
}
}
...
@@ -466,8 +461,7 @@ RelationInvokeStrategy(Relation relation,
...
@@ -466,8 +461,7 @@ RelationInvokeStrategy(Relation relation,
if
(
index
==
(
*
termP
)
->
degree
)
if
(
index
==
(
*
termP
)
->
degree
)
{
{
return
return
StrategyTermEvaluate
(
*
termP
,
strategyMap
,
left
,
right
);
StrategyTermEvaluate
(
*
termP
,
strategyMap
,
left
,
right
);
}
}
termP
+=
1
;
termP
+=
1
;
...
...
src/tools/backend/flow.fig
View file @
2d13c5f1
...
@@ -66,9 +66,6 @@ Inches
...
@@ -66,9 +66,6 @@ Inches
2 1 0 2 20 7 0 0 -1 0.000 0 0 -1 1 0 2
2 1 0 2 20 7 0 0 -1 0.000 0 0 -1 1 0 2
0 0 2.00 150.00 180.00
0 0 2.00 150.00 180.00
2550 2175 2550 2775
2550 2175 2550 2775
2 1 0 2 20 7 0 0 -1 0.000 0 0 -1 1 0 2
0 0 2.00 150.00 180.00
2550 2175 6450 2775
2 4 0 1 -1 29 0 0 20 0.000 0 0 7 0 0 5
2 4 0 1 -1 29 0 0 20 0.000 0 0 7 0 0 5
7650 12600 5250 12600 5250 12000 7650 12000 7650 12600
7650 12600 5250 12600 5250 12000 7650 12000 7650 12600
2 1 0 2 29 7 0 0 -1 0.000 0 0 -1 1 1 2
2 1 0 2 29 7 0 0 -1 0.000 0 0 -1 1 1 2
...
@@ -86,14 +83,14 @@ Inches
...
@@ -86,14 +83,14 @@ Inches
2 1 0 2 31 7 0 0 -1 0.000 0 0 -1 1 0 2
2 1 0 2 31 7 0 0 -1 0.000 0 0 -1 1 0 2
0 0 2.00 150.00 180.00
0 0 2.00 150.00 180.00
2550 3300 2550 4275
2550 3300 2550 4275
2 1 2 2 -1 7 0 0 -1 4.000 0 1 -1 1 1 2
0 0 2.00 80.00 150.00
0 0 2.00 80.00 150.00
4800 1875 5235 1317
2 1 2 2 -1 7 0 0 -1 3.000 0 1 -1 1 1 2
2 1 2 2 -1 7 0 0 -1 3.000 0 1 -1 1 1 2
0 0 2.00 80.00 150.00
0 0 2.00 80.00 150.00
0 0 2.00 80.00 150.00
0 0 2.00 80.00 150.00
4584 1524 5219 1293
4584 1524 5219 1293
2 1 2 2 -1 7 0 0 -1 4.000 0 1 -1 1 1 2
0 0 2.00 80.00 150.00
0 0 2.00 80.00 150.00
4800 1875 5235 1317
3 0 0 2 8 7 0 0 -1 0.000 0 1 0 8
3 0 0 2 8 7 0 0 -1 0.000 0 1 0 8
0 0 2.00 150.00 150.00
0 0 2.00 150.00 150.00
1350 9375 1050 9375 825 9000 825 4425 1050 4050 1500 3975
1350 9375 1050 9375 825 9000 825 4425 1050 4050 1500 3975
...
@@ -102,6 +99,12 @@ Inches
...
@@ -102,6 +99,12 @@ Inches
0 0 2.00 150.00 150.00
0 0 2.00 150.00 150.00
7650 5775 8250 5475 8250 4575 7725 3975 3525 3975 2850 3975
7650 5775 8250 5475 8250 4575 7725 3975 3525 3975 2850 3975
2700 4275
2700 4275
3 2 2 2 20 7 0 0 -1 6.000 1 1 0 5
0 0 2.00 150.00 180.00
2550 2175 3300 2475 5400 2475 6225 2550 6450 2775
0.00 0.00 2971.07 2372.76 3158.57 2447.76 3790.23 2569.41
4920.91 2453.27 5588.99 2483.57 6029.45 2458.41 6281.33 2576.38
6337.58 2632.63 0.00 0.00
4 1 -1 0 0 16 18 0.0000 4 210 900 1560 11190 Utilities\001
4 1 -1 0 0 16 18 0.0000 4 210 900 1560 11190 Utilities\001
4 1 -1 0 0 16 18 0.0000 4 270 2265 7965 11190 Storage Managers\001
4 1 -1 0 0 16 18 0.0000 4 270 2265 7965 11190 Storage Managers\001
4 1 -1 0 0 16 18 0.0000 4 270 960 4725 11175 Catalog\001
4 1 -1 0 0 16 18 0.0000 4 270 960 4725 11175 Catalog\001
...
...
src/tools/backend/flow.jpg
View replaced file @
956b91a9
View file @
2d13c5f1
68.8 KB
|
W:
|
H:
67.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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