summaryrefslogtreecommitdiff
path: root/src/include/optimizer
diff options
context:
space:
mode:
authorTom Lane1999-05-01 19:47:42 +0000
committerTom Lane1999-05-01 19:47:42 +0000
commit605d84941dec8179a9680e9757dc9985272c57ce (patch)
tree28fa6c1b35c40bfc5558f8d447e9311151405133 /src/include/optimizer
parent87d95ca04d0b794c2ba49f40f6a2ee1d94835cac (diff)
Clean up cost_sort some more: most callers were double-counting
the cost of reading the source data.
Diffstat (limited to 'src/include/optimizer')
-rw-r--r--src/include/optimizer/cost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h
index fdaf17d91ff..2b752711a68 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.17 1999/02/13 23:21:43 momjian Exp $
+ * $Id: cost.h,v 1.18 1999/05/01 19:47:39 tgl 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 *pathkeys, int tuples, int width, bool noread);
+extern Cost cost_sort(List *pathkeys, int tuples, int width);
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,