]> granicus.if.org Git - postgresql/blob - src/include/optimizer/planner.h
b568a7dbe8206f0a4cf0748be21752ee8b61a01a
[postgresql] / src / include / optimizer / planner.h
1 /*-------------------------------------------------------------------------
2  *
3  * planner.h
4  *        prototypes for planner.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/optimizer/planner.h,v 1.39 2007/04/16 01:14:58 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PLANNER_H
15 #define PLANNER_H
16
17 #include "nodes/plannodes.h"
18 #include "nodes/relation.h"
19
20
21 extern PlannedStmt *planner(Query *parse, int cursorOptions,
22                 ParamListInfo boundParams);
23 extern Plan *subquery_planner(PlannerGlobal *glob, Query *parse,
24                                                           Index level, double tuple_fraction,
25                                                           PlannerInfo **subroot);
26
27 #endif   /* PLANNER_H */