1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* prep.h
|
1997-09-07 01:04:48 -04:00
|
|
|
* prototypes for files in prep.c
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
1999-06-06 13:38:11 -04:00
|
|
|
* $Id: prep.h,v 1.15 1999/06/06 17:38:10 tgl Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef PREP_H
|
1997-09-07 01:04:48 -04:00
|
|
|
#define PREP_H
|
1996-07-09 02:22:35 -04:00
|
|
|
|
1996-11-06 04:17:31 -05:00
|
|
|
#include <nodes/plannodes.h>
|
|
|
|
|
#include <nodes/parsenodes.h>
|
1996-07-09 02:22:35 -04:00
|
|
|
|
|
|
|
|
/*
|
1999-06-06 13:38:11 -04:00
|
|
|
* prototypes for prepqual.c
|
1996-07-09 02:22:35 -04:00
|
|
|
*/
|
1997-09-08 17:56:23 -04:00
|
|
|
extern List *cnfify(Expr *qual, bool removeAndFlag);
|
1996-07-09 02:22:35 -04:00
|
|
|
|
|
|
|
|
/*
|
1999-06-06 13:38:11 -04:00
|
|
|
* prototypes for preptlist.c
|
1996-07-09 02:22:35 -04:00
|
|
|
*/
|
1998-09-01 00:40:42 -04:00
|
|
|
extern List *preprocess_targetlist(List *tlist, int command_type,
|
1997-09-08 17:56:23 -04:00
|
|
|
Index result_relation, List *range_table);
|
1996-07-09 02:22:35 -04:00
|
|
|
|
1999-06-06 13:38:11 -04:00
|
|
|
/*
|
|
|
|
|
* prototypes for prepunion.c
|
|
|
|
|
*/
|
1998-09-01 00:40:42 -04:00
|
|
|
extern List *find_all_inheritors(List *unexamined_relids,
|
1997-09-08 17:56:23 -04:00
|
|
|
List *examined_relids);
|
1997-12-28 20:13:37 -05:00
|
|
|
extern int first_inherit_rt_entry(List *rangetable);
|
|
|
|
|
extern Append *plan_union_queries(Query *parse);
|
1999-06-06 13:38:11 -04:00
|
|
|
extern Append *plan_inherit_queries(Query *parse, List *tlist, Index rt_index);
|
1996-07-09 02:22:35 -04:00
|
|
|
|
1998-09-01 00:40:42 -04:00
|
|
|
#endif /* PREP_H */
|