diff options
| author | Tom Lane | 2006-02-05 02:59:17 +0000 |
|---|---|---|
| committer | Tom Lane | 2006-02-05 02:59:17 +0000 |
| commit | 336a6491aaa8a2ba9a3118285522f237806b5e37 (patch) | |
| tree | 8c7313483667dd002728fdc2243d088adf56f5a8 /src/include/optimizer | |
| parent | 354213c7f493596448ca83f13d107a8ef7a08aae (diff) | |
Improve my initial, rather hacky implementation of joins to append
relations: fix the executor so that we can have an Append plan on the
inside of a nestloop and still pass down outer index keys to index scans
within the Append, then generate such plans as if they were regular
inner indexscans. This avoids the need to evaluate the outer relation
multiple times.
Diffstat (limited to 'src/include/optimizer')
| -rw-r--r-- | src/include/optimizer/pathnode.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 3ba612c1956..fc5387505bf 100644 --- a/src/include/optimizer/pathnode.h +++ b/src/include/optimizer/pathnode.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/optimizer/pathnode.h,v 1.65 2006/02/03 21:08:49 tgl Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/pathnode.h,v 1.66 2006/02/05 02:59:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -95,12 +95,5 @@ extern RelOptInfo *build_join_rel(PlannerInfo *root, RelOptInfo *inner_rel, JoinType jointype, List **restrictlist_ptr); -extern RelOptInfo *translate_join_rel(PlannerInfo *root, - RelOptInfo *oldjoinrel, - AppendRelInfo *appinfo, - RelOptInfo *outer_rel, - RelOptInfo *inner_rel, - JoinType jointype, - List **restrictlist_ptr); #endif /* PATHNODE_H */ |
