1 /*-------------------------------------------------------------------------
4 * prototypes for files in prep.c
7 * Copyright (c) 1994, Regents of the University of California
9 * $Id: prep.h,v 1.6 1997/11/20 23:23:48 momjian Exp $
11 *-------------------------------------------------------------------------
16 #include <nodes/plannodes.h>
17 #include <nodes/parsenodes.h>
20 * prototypes for prepqual.h
23 preprocess_qualification(Expr *qual, List *tlist,
24 List **existentialQualPtr);
25 extern List *cnfify(Expr *qual, bool removeAndFlag);
28 * prototypes for preptlist.h
31 preprocess_targetlist(List *tlist, int command_type,
32 Index result_relation, List *range_table);
35 * prototypes for prepunion.h
37 typedef enum UnionFlag
39 INHERITS_FLAG, ARCHIVE_FLAG, VERSION_FLAG
43 find_all_inheritors(List *unexamined_relids,
44 List *examined_relids);
45 extern int first_matching_rt_entry(List *rangetable, UnionFlag flag);
47 plan_union_queries(Index rt_index, Query *parse,