]> granicus.if.org Git - postgresql/blob - src/include/optimizer/planner.h
Reimplementation of UNION/INTERSECT/EXCEPT. INTERSECT/EXCEPT now meet the
[postgresql] / src / include / optimizer / planner.h
1 /*-------------------------------------------------------------------------
2  *
3  * planner.h
4  *        prototypes for planner.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $Id: planner.h,v 1.17 2000/10/05 19:11:37 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PLANNER_H
15 #define PLANNER_H
16
17 #include "nodes/parsenodes.h"
18 #include "nodes/plannodes.h"
19
20
21 extern Plan *planner(Query *parse);
22 extern Plan *subquery_planner(Query *parse, double tuple_fraction);
23 extern Plan *union_planner(Query *parse, double tuple_fraction);
24
25 extern Plan *make_sortplan(List *tlist, Plan *plannode, List *sortcls);
26
27 #endif   /* PLANNER_H */