]> granicus.if.org Git - postgresql/blob - src/include/optimizer/prep.h
pgindent run before 6.3 release, with Thomas' requested changes.
[postgresql] / src / include / optimizer / prep.h
1 /*-------------------------------------------------------------------------
2  *
3  * prep.h--
4  *        prototypes for files in prep.c
5  *
6  *
7  * Copyright (c) 1994, Regents of the University of California
8  *
9  * $Id: prep.h,v 1.12 1998/02/26 04:42:23 momjian Exp $
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef PREP_H
14 #define PREP_H
15
16 #include <nodes/plannodes.h>
17 #include <nodes/parsenodes.h>
18
19 /*
20  * prototypes for prepqual.h
21  */
22 extern List *cnfify(Expr *qual, bool removeAndFlag);
23
24 /*
25  * prototypes for preptlist.h
26  */
27 extern List *
28 preprocess_targetlist(List *tlist, int command_type,
29                                           Index result_relation, List *range_table);
30
31 extern List *
32 find_all_inheritors(List *unexamined_relids,
33                                         List *examined_relids);
34 extern int      first_inherit_rt_entry(List *rangetable);
35 extern Append *plan_union_queries(Query *parse);
36 extern Append *plan_inherit_queries(Query *parse, Index rt_index);
37
38 #endif                                                  /* PREP_H */