]> granicus.if.org Git - postgresql/blob - src/include/commands/portalcmds.h
Rename DLLIMPORT macro to PGDLLIMPORT to avoid conflict with
[postgresql] / src / include / commands / portalcmds.h
1 /*-------------------------------------------------------------------------
2  *
3  * portalcmds.h
4  *        prototypes for portalcmds.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * $PostgreSQL: pgsql/src/include/commands/portalcmds.h,v 1.23 2007/04/27 22:05:49 tgl Exp $
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PORTALCMDS_H
15 #define PORTALCMDS_H
16
17 #include "nodes/parsenodes.h"
18 #include "nodes/plannodes.h"
19 #include "utils/portal.h"
20
21
22 extern void PerformCursorOpen(PlannedStmt *stmt, ParamListInfo params,
23                                                           const char *queryString, bool isTopLevel);
24
25 extern void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest,
26                                    char *completionTag);
27
28 extern void PerformPortalClose(const char *name);
29
30 extern void PortalCleanup(Portal portal);
31
32 extern void PersistHoldablePortal(Portal portal);
33
34 #endif   /* PORTALCMDS_H */