diff options
| author | Tom Lane | 2000-06-20 04:22:21 +0000 |
|---|---|---|
| committer | Tom Lane | 2000-06-20 04:22:21 +0000 |
| commit | 38db5fab29004edff2ee2eea51d72e04ab45870b (patch) | |
| tree | 5c49f3a472b936409a20cd51cb666133eda245f1 /src/include | |
| parent | 996659f2556843490827eb5027b53bac4b10783d (diff) | |
Make inheritance planning logic a little simpler and clearer,
hopefully even a little faster.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/optimizer/prep.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/optimizer/prep.h b/src/include/optimizer/prep.h index f641f4a0fad..4ffddcf5668 100644 --- a/src/include/optimizer/prep.h +++ b/src/include/optimizer/prep.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: prep.h,v 1.22 2000/06/08 22:37:51 momjian Exp $ + * $Id: prep.h,v 1.23 2000/06/20 04:22:13 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -33,8 +33,10 @@ extern List *preprocess_targetlist(List *tlist, int command_type, * prototypes for prepunion.c */ extern List *find_all_inheritors(Oid parentrel); -extern int first_inherit_rt_entry(List *rangetable); -extern Append *plan_union_queries(Query *parse); -extern Append *plan_inherit_queries(Query *parse, List *tlist, Index rt_index); +extern bool find_inheritable_rt_entry(List *rangetable, + Index *rt_index, List **inheritors); +extern Plan *plan_inherit_queries(Query *root, List *tlist, + Index rt_index, List *inheritors); +extern Plan *plan_union_queries(Query *parse); #endif /* PREP_H */ |
