Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56bb23a

Browse files
committed
optimizer rename
1 parent50034a8 commit56bb23a

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

‎src/backend/optimizer/path/allpaths.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.38 1999/02/15 05:28:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.39 1999/02/15 05:49:59 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -248,7 +248,10 @@ make_one_rel_by_joins(Query *root, List *rels, int levels_needed)
248248
root->join_rel_list=rels=joined_rels;
249249
}
250250

251+
#ifdefNOT_USED
251252
Assert(BushyPlanFlag||length(rels)==1);
253+
#endif
254+
Assert(length(rels)==1);
252255

253256
#ifdefNOT_USED
254257
if (BushyPlanFlag)

‎src/backend/optimizer/path/indxpath.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.49 1999/02/15 05:28:09 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.50 1999/02/15 05:50:00 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -67,7 +67,7 @@ static List *indexable_joinclauses(RelOptInfo *rel, RelOptInfo *index,
6767
List*joininfo_list,List*restrictinfo_list);
6868
staticList*index_innerjoin(Query*root,RelOptInfo*rel,
6969
List*clausegroup_list,RelOptInfo*index);
70-
staticList*create_index_paths(Query*root,RelOptInfo*rel,RelOptInfo*index,
70+
staticList*create_index_path_group(Query*root,RelOptInfo*rel,RelOptInfo*index,
7171
List*clausegroup_list,booljoin);
7272
staticList*add_index_paths(List*indexpaths,List*new_indexpaths);
7373
staticboolfunction_index_operand(Expr*funcOpnd,RelOptInfo*rel,RelOptInfo*index);
@@ -152,7 +152,7 @@ create_index_paths(Query *root,
152152

153153
scanpaths=NIL;
154154
if (scanclausegroups!=NIL)
155-
scanpaths=create_index_paths(root,
155+
scanpaths=create_index_path_group(root,
156156
rel,
157157
index,
158158
scanclausegroups,
@@ -170,7 +170,7 @@ create_index_paths(Query *root,
170170

171171
if (joinclausegroups!=NIL)
172172
{
173-
joinpaths=create_index_paths(root,rel,
173+
joinpaths=create_index_path_group(root,rel,
174174
index,
175175
joinclausegroups,
176176
true);
@@ -1330,7 +1330,7 @@ index_innerjoin(Query *root, RelOptInfo *rel, List *clausegroup_list,
13301330
}
13311331

13321332
/*
1333-
*create_index_paths
1333+
*create_index_path_group
13341334
* Creates a list of index path nodes for each group of clauses
13351335
* (restriction or join) that can be used in conjunction with an index.
13361336
*
@@ -1344,11 +1344,11 @@ index_innerjoin(Query *root, RelOptInfo *rel, List *clausegroup_list,
13441344
*
13451345
*/
13461346
staticList*
1347-
create_index_paths(Query*root,
1348-
RelOptInfo*rel,
1349-
RelOptInfo*index,
1350-
List*clausegroup_list,
1351-
booljoin)
1347+
create_index_path_group(Query*root,
1348+
RelOptInfo*rel,
1349+
RelOptInfo*index,
1350+
List*clausegroup_list,
1351+
booljoin)
13521352
{
13531353
List*clausegroup=NIL;
13541354
List*ip_list=NIL;

‎src/include/optimizer/geqo.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: geqo.h,v 1.11 1999/02/13 23:21:44 momjian Exp $
8+
* $Id: geqo.h,v 1.12 1999/02/15 05:50:02 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -75,7 +75,6 @@ extern RelOptInfo *geqo(Query *root);
7575
externvoidgeqo_params(intstring_length);
7676

7777
externCostgeqo_eval(Query*root,Gene*tour,intnum_gene);
78-
doublegeqo_log(doublex,doubleb);
7978
externRelOptInfo*gimme_tree(Query*root,Gene*tour,intrel_count,intnum_gene,RelOptInfo*outer_rel);
8079

8180

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp