1 /*-------------------------------------------------------------------------
4 * prototypes for files in optimizer/prep/
7 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8 * Portions Copyright (c) 1994, Regents of the University of California
10 * $Id: prep.h,v 1.21 2000/01/26 05:58:21 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include "nodes/parsenodes.h"
18 #include "nodes/plannodes.h"
21 * prototypes for prepqual.c
23 extern List *canonicalize_qual(Expr *qual, bool removeAndFlag);
24 extern List *cnfify(Expr *qual, bool removeAndFlag);
25 extern Expr *dnfify(Expr *qual);
28 * prototypes for preptlist.c
30 extern List *preprocess_targetlist(List *tlist, int command_type,
31 Index result_relation, List *range_table);
34 * prototypes for prepunion.c
36 extern List *find_all_inheritors(Oid parentrel);
37 extern int first_inherit_rt_entry(List *rangetable);
38 extern Append *plan_union_queries(Query *parse);
39 extern Append *plan_inherit_queries(Query *parse, List *tlist, Index rt_index);