diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-05-09 22:51:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-05-09 22:51:41 +0000 |
commit | 8dcf18414ba3fd68970fb5095f26bb9f358dedfe (patch) | |
tree | 286c9dd55543baf5c7887e7d17dc26c43cd0845b /src/include | |
parent | a41e9ec0db08dec52be8ee1c27fe55f742e1a8a9 (diff) |
Fix cost_nestloop and cost_hashjoin to model the behavior of semi and anti
joins a bit better, ie, understand the differing cost functions for matched
and unmatched outer tuples. There is more that could be done in cost_hashjoin
but this already helps a great deal. Per discussions with Robert Haas.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/optimizer/restrictinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/optimizer/restrictinfo.h b/src/include/optimizer/restrictinfo.h index 52d256ed284..dcdc82ee1dc 100644 --- a/src/include/optimizer/restrictinfo.h +++ b/src/include/optimizer/restrictinfo.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/optimizer/restrictinfo.h,v 1.43 2009/04/16 20:42:16 tgl Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/restrictinfo.h,v 1.44 2009/05/09 22:51:41 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -39,6 +39,6 @@ extern void extract_actual_join_clauses(List *restrictinfo_list, List **otherquals); extern List *select_nonredundant_join_clauses(PlannerInfo *root, List *restrictinfo_list, - List *reference_list); + Path *inner_path); #endif /* RESTRICTINFO_H */ |