planner.h 738 Bytes
Newer Older
1 2
/*-------------------------------------------------------------------------
 *
3
 * planner.h
4
 *	  prototypes for planner.c.
5 6
 *
 *
7
 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
Bruce Momjian's avatar
Add:  
Bruce Momjian committed
8
 * Portions Copyright (c) 1994, Regents of the University of California
9
 *
10
 * $Id: planner.h,v 1.20 2001/06/05 05:26:05 tgl Exp $
11 12 13 14 15 16
 *
 *-------------------------------------------------------------------------
 */
#ifndef PLANNER_H
#define PLANNER_H

Bruce Momjian's avatar
Bruce Momjian committed
17 18
#include "nodes/parsenodes.h"
#include "nodes/plannodes.h"
19

20

21
extern Plan *planner(Query *parse);
22
extern Plan *subquery_planner(Query *parse, double tuple_fraction);
23

24 25
extern Plan *make_sortplan(Query *parse, List *tlist,
						   Plan *plannode, List *sortcls);
26

27
#endif	 /* PLANNER_H */