diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-27 04:55:12 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-08-27 04:55:12 +0000 |
| commit | 28e82066a1d17dce2c28ca5391dab1e4f1eb0c0f (patch) | |
| tree | 2204fa82946fd20ffaf10fd498de0c921ea301eb /src/include/commands/prepare.h | |
| parent | bc8f725a4aa4e2118caaf9e7c4fe3cc5632a02c0 (diff) | |
| download | postgresql-28e82066a1d17dce2c28ca5391dab1e4f1eb0c0f.tar.gz | |
PREPARE/EXECUTE statements. Patch by Neil Conway, some kibitzing
from Tom Lane.
Diffstat (limited to 'src/include/commands/prepare.h')
| -rw-r--r-- | src/include/commands/prepare.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/commands/prepare.h b/src/include/commands/prepare.h new file mode 100644 index 0000000000..6af60feeae --- /dev/null +++ b/src/include/commands/prepare.h @@ -0,0 +1,29 @@ +/*------------------------------------------------------------------------- + * + * prepare.h + * PREPARE, EXECUTE and DEALLOCATE command prototypes + * + * + * Copyright (c) 2002, PostgreSQL Global Development Group + * + * $Id: prepare.h,v 1.1 2002/08/27 04:55:11 tgl Exp $ + * + *------------------------------------------------------------------------- + */ + +#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); + +#endif /* PREPARE_H */ |
