2002-04-15 07:22:04 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* portalcmds.h
|
|
|
|
* prototypes for portalcmds.c.
|
|
|
|
*
|
|
|
|
*
|
2004-12-31 23:04:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
2002-04-15 07:22:04 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2004-12-31 23:04:05 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/commands/portalcmds.h,v 1.18 2004/12/31 22:03:28 pgsql Exp $
|
2002-04-15 07:22:04 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PORTALCMDS_H
|
|
|
|
#define PORTALCMDS_H
|
|
|
|
|
|
|
|
#include "utils/portal.h"
|
|
|
|
|
2003-03-10 04:53:52 +01:00
|
|
|
|
2004-08-02 03:30:51 +02:00
|
|
|
extern void PerformCursorOpen(DeclareCursorStmt *stmt, ParamListInfo params);
|
2003-03-10 04:53:52 +01:00
|
|
|
|
2003-05-06 22:26:28 +02:00
|
|
|
extern void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest,
|
2003-08-04 02:43:34 +02:00
|
|
|
char *completionTag);
|
2002-04-15 07:22:04 +02:00
|
|
|
|
2003-05-05 02:44:56 +02:00
|
|
|
extern void PerformPortalClose(const char *name);
|
2002-04-15 07:22:04 +02:00
|
|
|
|
2004-07-17 05:32:14 +02:00
|
|
|
extern void PortalCleanup(Portal portal);
|
2002-04-15 07:22:04 +02:00
|
|
|
|
2003-05-02 22:54:36 +02:00
|
|
|
extern void PersistHoldablePortal(Portal portal);
|
|
|
|
|
2002-09-04 22:31:48 +02:00
|
|
|
#endif /* PORTALCMDS_H */
|