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
|
|
|
*
|
|
|
|
*
|
2004-08-29 06:13:13 +02:00
|
|
|
* Portions Copyright (c) 1996-2004, 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
|
|
|
*
|
2004-08-29 07:07:03 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/optimizer/planner.h,v 1.31 2004/08/29 05:06:57 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PLANNER_H
|
|
|
|
#define PLANNER_H
|
|
|
|
|
2004-06-11 03:09:22 +02:00
|
|
|
#include "nodes/params.h"
|
1997-11-26 02:14:33 +01:00
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
#include "nodes/plannodes.h"
|
1997-11-25 23:07:18 +01:00
|
|
|
|
2000-08-21 22:55:31 +02:00
|
|
|
|
2004-08-29 07:07:03 +02:00
|
|
|
extern ParamListInfo PlannerBoundParamList; /* current boundParams */
|
2004-06-11 03:09:22 +02:00
|
|
|
|
|
|
|
extern Plan *planner(Query *parse, bool isCursor, int cursorOptions,
|
2004-08-29 07:07:03 +02:00
|
|
|
ParamListInfo boundParams);
|
2000-03-21 06:12:12 +01:00
|
|
|
extern Plan *subquery_planner(Query *parse, double tuple_fraction);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PLANNER_H */
|