diff options
Diffstat (limited to 'src/include/optimizer')
-rw-r--r-- | src/include/optimizer/cost.h | 17 | ||||
-rw-r--r-- | src/include/optimizer/plancat.h | 7 |
2 files changed, 14 insertions, 10 deletions
diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h index aca6097bc1c..0feb56dd7c9 100644 --- a/src/include/optimizer/cost.h +++ b/src/include/optimizer/cost.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: cost.h,v 1.51 2003/01/27 20:51:54 tgl Exp $ + * $Id: cost.h,v 1.52 2003/01/28 22:13:41 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -88,13 +88,16 @@ extern void set_function_size_estimates(Query *root, RelOptInfo *rel); * routines to compute clause selectivities */ extern Selectivity restrictlist_selectivity(Query *root, - List *restrictinfo_list, - int varRelid); + List *restrictinfo_list, + int varRelid, + JoinType jointype); extern Selectivity clauselist_selectivity(Query *root, - List *clauses, - int varRelid); + List *clauses, + int varRelid, + JoinType jointype); extern Selectivity clause_selectivity(Query *root, - Node *clause, - int varRelid); + Node *clause, + int varRelid, + JoinType jointype); #endif /* COST_H */ diff --git a/src/include/optimizer/plancat.h b/src/include/optimizer/plancat.h index abd09871feb..255d196d7d7 100644 --- a/src/include/optimizer/plancat.h +++ b/src/include/optimizer/plancat.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: plancat.h,v 1.27 2002/06/20 20:29:51 momjian Exp $ + * $Id: plancat.h,v 1.28 2003/01/28 22:13:41 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -34,7 +34,8 @@ extern Selectivity restriction_selectivity(Query *root, int varRelid); extern Selectivity join_selectivity(Query *root, - Oid operator, - List *args); + Oid operator, + List *args, + JoinType jointype); #endif /* PLANCAT_H */ |