pquery.h 901 字节
Newer Older
1 2 3 4 5 6 7 8
/*-------------------------------------------------------------------------
 *
 * pquery.h--
 *    prototypes for pquery.c.
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
9
 * $Id: pquery.h,v 1.2 1996/11/04 12:07:01 scrappy Exp $
10 11 12 13 14 15
 *
 *-------------------------------------------------------------------------
 */
#ifndef PQUERY_H
#define PQUERY_H

16
#include <executor/execdesc.h>
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

/* moved to execdesc.h 
extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree,
				  CommandDest dest);

*/
extern EState *CreateExecutorState();


extern void ProcessPortal(char *portalName, Query *parseTree,
			  Plan *plan, EState *state, TupleDesc attinfo, 
			  CommandDest dest);

extern void ProcessQueryDesc(QueryDesc *queryDesc);

extern void ProcessQuery(Query *parsetree, Plan *plan, char *argv[], 
			 Oid *typev, int nargs, CommandDest dest);

#endif /* pqueryIncluded */