diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-22 21:58:32 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-22 21:58:32 +0000 |
| commit | bc843d396032acb75abfbcfab1a0c3b0b252c3f1 (patch) | |
| tree | 1c5f8401d96790fc45c810f7e19eba1c1d61ba79 /src/include/optimizer/pathnode.h | |
| parent | ccbb07d92229a3ebdfbb129aafaba99a22658403 (diff) | |
| download | postgresql-bc843d396032acb75abfbcfab1a0c3b0b252c3f1.tar.gz | |
First cut at planner support for bitmap index scans. Lots to do yet,
but the code is basically working. Along the way, rewrite the entire
approach to processing OR index conditions, and make it work in join
cases for the first time ever. orindxpath.c is now basically obsolete,
but I left it in for the time being to allow easy comparison testing
against the old implementation.
Diffstat (limited to 'src/include/optimizer/pathnode.h')
| -rw-r--r-- | src/include/optimizer/pathnode.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/optimizer/pathnode.h b/src/include/optimizer/pathnode.h index 7881ed1753..f5c11ff58e 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.59 2005/04/21 19:18:13 tgl Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/pathnode.h,v 1.60 2005/04/22 21:58:32 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -30,12 +30,14 @@ extern void add_path(RelOptInfo *parent_rel, Path *new_path); extern Path *create_seqscan_path(Query *root, RelOptInfo *rel); extern IndexPath *create_index_path(Query *root, IndexOptInfo *index, - List *restriction_clauses, + List *clause_groups, List *pathkeys, - ScanDirection indexscandir); + ScanDirection indexscandir, + bool isjoininner); extern BitmapHeapPath *create_bitmap_heap_path(Query *root, RelOptInfo *rel, - Path *bitmapqual); + Path *bitmapqual, + bool isjoininner); extern BitmapAndPath *create_bitmap_and_path(Query *root, RelOptInfo *rel, List *bitmapquals); |
