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

Commita01b085

Browse files
committed
Cleanup of UNION ALL fix. Manual page updates.
1 parent4ce24c8 commita01b085

File tree

8 files changed

+277
-259
lines changed

8 files changed

+277
-259
lines changed

‎src/backend/optimizer/plan/planner.c

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.17 1997/12/27 06:41:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/planner.c,v 1.18 1997/12/29 01:12:45 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -76,26 +76,22 @@ planner(Query *parse)
7676
Plan*result_plan= (Plan*)NULL;
7777

7878
List*primary_qual;
79-
intrt_index;
79+
Indexrt_index;
8080

8181

8282
if (parse->unionClause)
8383
{
84-
result_plan= (Plan*)plan_union_queries(0,/* none */
85-
parse,
86-
UNION_FLAG);
84+
result_plan= (Plan*)plan_union_queries(parse);
8785
/* XXX do we need to do this? bjm 12/19/97 */
8886
tlist=preprocess_targetlist(tlist,
8987
parse->commandType,
9088
parse->resultRelation,
9189
parse->rtable);
9290
}
9391
elseif ((rt_index=
94-
first_matching_rt_entry(rangetable,INHERITS_FLAG))!=-1)
92+
first_inherit_rt_entry(rangetable))!=-1)
9593
{
96-
result_plan= (Plan*)plan_union_queries((Index)rt_index,
97-
parse,
98-
INHERITS_FLAG);
94+
result_plan= (Plan*)plan_inherit_queries(parse,rt_index);
9995
/* XXX do we need to do this? bjm 12/19/97 */
10096
tlist=preprocess_targetlist(tlist,
10197
parse->commandType,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp