2002-08-27 06:55:12 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* prepare.h
|
|
|
|
* PREPARE, EXECUTE and DEALLOCATE command prototypes
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 2002, PostgreSQL Global Development Group
|
|
|
|
*
|
2002-09-04 22:31:48 +02:00
|
|
|
* $Id: prepare.h,v 1.2 2002/09/04 20:31:42 momjian Exp $
|
2002-08-27 06:55:12 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PREPARE_H
|
|
|
|
#define PREPARE_H
|
|
|
|
|
|
|
|
#include "nodes/parsenodes.h"
|
|
|
|
#include "tcop/dest.h"
|
|
|
|
|
|
|
|
|
|
|
|
extern void PrepareQuery(PrepareStmt *stmt);
|
|
|
|
|
|
|
|
extern void ExecuteQuery(ExecuteStmt *stmt, CommandDest outputDest);
|
|
|
|
|
|
|
|
extern void DeallocateQuery(DeallocateStmt *stmt);
|
|
|
|
|
|
|
|
extern List *FetchQueryParams(const char *plan_name);
|
|
|
|
|
2002-09-04 22:31:48 +02:00
|
|
|
#endif /* PREPARE_H */
|