1 /*-------------------------------------------------------------------------
4 * prototypes for files in prep.c
7 * Copyright (c) 1994, Regents of the University of California
9 * $Id: prep.h,v 1.10 1997/12/24 06:06:58 momjian Exp $
11 *-------------------------------------------------------------------------
16 #include <nodes/plannodes.h>
17 #include <nodes/parsenodes.h>
20 * prototypes for prepqual.h
22 extern List *cnfify(Expr *qual, bool removeAndFlag);
25 * prototypes for preptlist.h
27 extern List *preprocess_targetlist(List *tlist, int command_type,
28 Index result_relation, List *range_table);
31 * prototypes for prepunion.h
33 typedef enum UnionFlag
35 INHERITS_FLAG, UNION_FLAG, VERSION_FLAG
38 extern List *find_all_inheritors(List *unexamined_relids,
39 List *examined_relids);
40 extern int first_matching_rt_entry(List *rangetable, UnionFlag flag);
41 extern Append *plan_union_queries(Index rt_index, Query *parse,