From 605d84941dec8179a9680e9757dc9985272c57ce Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 1 May 1999 19:47:42 +0000 Subject: Clean up cost_sort some more: most callers were double-counting the cost of reading the source data. --- src/include/optimizer/cost.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/optimizer') 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, -- cgit v1.2.3