diff options
| author | Bruce Momjian | 1999-02-10 03:52:54 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1999-02-10 03:52:54 +0000 |
| commit | f859c81c18669d05ac53f2c1e0163c6b804fddd5 (patch) | |
| tree | 0999719e856f47a5c8d84c7a29be3a488a5b3d8a /src/include/optimizer | |
| parent | 318e593f03c4e8b8b52bc6792403c0a4909f3213 (diff) | |
Rename Path.keys to Path.pathkeys. Too many 'keys' used for other things.
Diffstat (limited to 'src/include/optimizer')
| -rw-r--r-- | src/include/optimizer/cost.h | 4 | ||||
| -rw-r--r-- | src/include/optimizer/pathnode.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index 7d6035c6d4..4a7c8e86f5 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: cost.h,v 1.12 1999/02/03 20:15:52 momjian Exp $ + * $Id: cost.h,v 1.13 1999/02/10 03:52:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -34,7 +34,7 @@ extern Cost cost_seqscan(int relid, int relpages, int reltuples); extern Cost cost_index(Oid indexid, int expected_indexpages, Cost selec, int relpages, int reltuples, int indexpages, int indextuples, bool is_injoin); -extern Cost cost_sort(List *keys, int tuples, int width, bool noread); +extern Cost cost_sort(List *pathkeys, int tuples, int width, bool noread); extern Cost cost_nestloop(Cost outercost, Cost innercost, int outertuples, int innertuples, int outerpages, bool is_indexjoin); extern Cost cost_mergejoin(Cost outercost, Cost innercost, diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 4c8501de95..19eb5373be 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pathnode.h,v 1.10 1998/09/01 04:37:13 momjian Exp $ + * $Id: pathnode.h,v 1.11 1999/02/10 03:52:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -28,15 +28,15 @@ extern Path *create_seqscan_path(RelOptInfo * rel); extern IndexPath *create_index_path(Query *root, RelOptInfo * rel, RelOptInfo * index, List *restriction_clauses, bool is_join_scan); extern JoinPath *create_nestloop_path(RelOptInfo * joinrel, RelOptInfo * outer_rel, - Path *outer_path, Path *inner_path, List *keys); + Path *outer_path, Path *inner_path, List *pathkeys); extern MergePath *create_mergejoin_path(RelOptInfo * joinrel, int outersize, int innersize, int outerwidth, int innerwidth, Path *outer_path, - Path *inner_path, List *keys, MergeOrder *order, + Path *inner_path, List *pathkeys, MergeOrder *order, List *mergeclauses, List *outersortkeys, List *innersortkeys); extern HashPath *create_hashjoin_path(RelOptInfo * joinrel, int outersize, int innersize, int outerwidth, int innerwidth, Path *outer_path, - Path *inner_path, List *keys, Oid operator, List *hashclauses, + Path *inner_path, List *pathkeys, Oid operator, List *hashclauses, List *outerkeys, List *innerkeys); /* |
