code for Global-Partition-Index feature

Signed-off-by: xiliu <xiliu_h@163.com>
This commit is contained in:
xiliu
2020-08-25 15:10:14 +08:00
parent 339cd59f26
commit c040d78287
157 changed files with 12502 additions and 939 deletions

View File

@ -57,6 +57,8 @@ extern IndexPath* create_index_path(PlannerInfo* root, IndexOptInfo* index, List
List* indexorderbys, List* indexorderbycols, List* pathkeys, ScanDirection indexscandir, bool indexonly,
Relids required_outer, double loop_count);
extern Path* build_seqScanPath_by_indexScanPath(PlannerInfo* root, Path* index_path);
extern bool CheckBitmapQualIsGlobalIndex(Path* bitmapqual);
extern bool CheckBitmapHeapPathContainGlobalOrLocal(Path* bitmapqual);
extern bool check_bitmap_heap_path_index_unusable(Path* bitmapqual, RelOptInfo* baserel);
extern bool is_partitionIndex_Subpath(Path* subpath);
extern bool is_pwj_path(Path* pwjpath);