summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/path/joinutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/optimizer/path/joinutils.c')
-rw-r--r--src/backend/optimizer/path/joinutils.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/backend/optimizer/path/joinutils.c b/src/backend/optimizer/path/joinutils.c
index bdfa4308142..e09543876b0 100644
--- a/src/backend/optimizer/path/joinutils.c
+++ b/src/backend/optimizer/path/joinutils.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/joinutils.c,v 1.14 1999/02/10 03:52:40 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/joinutils.c,v 1.15 1999/02/10 17:14:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,14 +27,13 @@
static int match_pathkey_joinkeys(List *pathkey, List *joinkeys,
- int which_subkey);
+ int which_subkey);
static bool every_func(List *joinkeys, List *pathkey,
- int which_subkey);
-static List *new_join_pathkey(List *subkeys,
- List *considered_subkeys, List *join_rel_tlist,
- List *joinclauses);
+ int which_subkey);
+static List *new_join_pathkey(List *subkeys, List *considered_subkeys,
+ List *join_rel_tlist, List *joinclauses);
static List *new_matching_subkeys(Var *subkey, List *considered_subkeys,
- List *join_rel_tlist, List *joinclauses);
+ List *join_rel_tlist, List *joinclauses);
/****************************************************************************
* KEY COMPARISONS
@@ -219,8 +218,7 @@ match_paths_joinkeys(List *joinkeys,
key_match = every_func(joinkeys, path->pathkeys, which_subkey);
if (equal_path_ordering(ordering, path->path_order) &&
- length(joinkeys) == length(path->pathkeys) &&
- key_match)
+ length(joinkeys) == length(path->pathkeys) && key_match)
{
if (matched_path)
@@ -273,7 +271,7 @@ extract_path_keys(List *joinkeys,
key = (Var *) matching_tlvar(var, tlist);
/*
- * include it in the pathkeys list if we haven't already done so
+ * Include it in the pathkeys list if we haven't already done so
*/
foreach(p, pathkeys)
{
@@ -381,7 +379,7 @@ new_join_pathkey(List *subkeys,
else
newly_considered_subkeys = matched_subkeys;
- considered_subkeys = append(considered_subkeys, newly_considered_subkeys);
+ considered_subkeys = append(considered_subkeys, newly_considered_subkeys);
t_list = nconc(t_list, newly_considered_subkeys);
}