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-12-31 23:04:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2005, 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
|
|
|
*
|
2005-10-15 04:49:52 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/optimizer/planner.h,v 1.34 2005/10/15 02:49:45 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);
|
2005-06-06 00:32:58 +02:00
|
|
|
extern Plan *subquery_planner(Query *parse, double tuple_fraction,
|
2005-10-15 04:49:52 +02:00
|
|
|
List **subquery_pathkeys);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PLANNER_H */
|