1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* planner.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* prototypes for planner.c.
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2007-01-05 23:20:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2007-04-16 03:14:58 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/optimizer/planner.h,v 1.39 2007/04/16 01:14:58 tgl Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PLANNER_H
|
|
|
|
#define PLANNER_H
|
|
|
|
|
1997-11-26 02:14:33 +01:00
|
|
|
#include "nodes/plannodes.h"
|
2007-02-19 08:03:34 +01:00
|
|
|
#include "nodes/relation.h"
|
1997-11-25 23:07:18 +01:00
|
|
|
|
2000-08-21 22:55:31 +02:00
|
|
|
|
2007-04-16 03:14:58 +02:00
|
|
|
extern PlannedStmt *planner(Query *parse, int cursorOptions,
|
2004-08-29 07:07:03 +02:00
|
|
|
ParamListInfo boundParams);
|
2007-02-19 08:03:34 +01:00
|
|
|
extern Plan *subquery_planner(PlannerGlobal *glob, Query *parse,
|
|
|
|
Index level, double tuple_fraction,
|
2007-02-20 18:32:18 +01:00
|
|
|
PlannerInfo **subroot);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PLANNER_H */
|