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
e6bf7b4d
Commit
e6bf7b4d
authored
Feb 15, 1999
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename
parent
56bb23a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
src/backend/optimizer/path/joinutils.c
src/backend/optimizer/path/joinutils.c
+4
-4
src/backend/optimizer/util/tlist.c
src/backend/optimizer/util/tlist.c
+4
-4
src/include/optimizer/tlist.h
src/include/optimizer/tlist.h
+2
-2
No files found.
src/backend/optimizer/path/joinutils.c
View file @
e6bf7b4d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/joinutils.c,v 1.2
1 1999/02/15 02:04:57 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/joinutils.c,v 1.2
2 1999/02/15 05:56:04 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -270,7 +270,7 @@ extract_path_keys(List *joinkeys,
* find the right Var in the target list for this key
*/
var
=
(
Var
*
)
extract_join_subkey
(
jkey
,
which_subkey
);
key
=
(
Var
*
)
matching_tlvar
(
var
,
tlist
);
key
=
(
Var
*
)
matching_tl
ist_
var
(
var
,
tlist
);
/*
* Include it in the pathkeys list if we haven't already done so
...
...
@@ -369,7 +369,7 @@ new_join_pathkey(List *subkeys,
break
;
/* XXX something is wrong */
matched_subkeys
=
new_matching_subkeys
(
subkey
,
considered_subkeys
,
join_rel_tlist
,
joinclauses
);
tlist_key
=
matching_tlvar
(
subkey
,
join_rel_tlist
);
tlist_key
=
matching_tl
ist_
var
(
subkey
,
join_rel_tlist
);
newly_considered_subkeys
=
NIL
;
if
(
tlist_key
)
...
...
@@ -418,7 +418,7 @@ new_matching_subkeys(Var *subkey,
foreach
(
i
,
joinclauses
)
{
joinclause
=
lfirst
(
i
);
tlist_other_var
=
matching_tlvar
(
tlist_other_var
=
matching_tl
ist_
var
(
other_join_clause_var
(
subkey
,
joinclause
),
join_rel_tlist
);
...
...
src/backend/optimizer/util/tlist.c
View file @
e6bf7b4d
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.2
6 1999/02/13 23:16:49
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/tlist.c,v 1.2
7 1999/02/15 05:56:05
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -61,7 +61,7 @@ tlistentry_member(Var *var, List *targetlist)
}
/*
* matching_tlvar
* matching_tl
ist_
var
*
* RETURNS: var node in a target list which is var_equal to 'var',
* if one exists.
...
...
@@ -69,7 +69,7 @@ tlistentry_member(Var *var, List *targetlist)
*
*/
Expr
*
matching_tlvar
(
Var
*
var
,
List
*
targetlist
)
matching_tl
ist_
var
(
Var
*
var
,
List
*
targetlist
)
{
TargetEntry
*
tlentry
;
...
...
@@ -97,7 +97,7 @@ add_var_to_tlist(RelOptInfo *rel, Var *var)
{
Expr
*
oldvar
=
(
Expr
*
)
NULL
;
oldvar
=
matching_tlvar
(
var
,
rel
->
targetlist
);
oldvar
=
matching_tl
ist_
var
(
var
,
rel
->
targetlist
);
/*
* If 'var' is not already in 'rel's target list, add a new node.
...
...
src/include/optimizer/tlist.h
View file @
e6bf7b4d
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: tlist.h,v 1.1
5 1999/02/13 23:21:53
momjian Exp $
* $Id: tlist.h,v 1.1
6 1999/02/15 05:56:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -18,7 +18,7 @@
#include "nodes/relation.h"
extern
TargetEntry
*
tlistentry_member
(
Var
*
var
,
List
*
targetlist
);
extern
Expr
*
matching_tlvar
(
Var
*
var
,
List
*
targetlist
);
extern
Expr
*
matching_tl
ist_
var
(
Var
*
var
,
List
*
targetlist
);
extern
void
add_var_to_tlist
(
RelOptInfo
*
rel
,
Var
*
var
);
extern
TargetEntry
*
create_tl_element
(
Var
*
var
,
int
resdomno
);
extern
List
*
get_actual_tlist
(
List
*
tlist
);
...
...
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