PostgreSQL Source Code  git master
portalcmds.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * portalcmds.h
4  * prototypes for portalcmds.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/commands/portalcmds.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef PORTALCMDS_H
15 #define PORTALCMDS_H
16 
17 #include "nodes/parsenodes.h"
18 #include "utils/portal.h"
19 
20 
21 extern void PerformCursorOpen(DeclareCursorStmt *cstmt, ParamListInfo params,
22  const char *queryString, bool isTopLevel);
23 
24 extern void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest,
25  char *completionTag);
26 
27 extern void PerformPortalClose(const char *name);
28 
29 extern void PortalCleanup(Portal portal);
30 
31 extern void PersistHoldablePortal(Portal portal);
32 
33 #endif /* PORTALCMDS_H */
void PersistHoldablePortal(Portal portal)
Definition: portalcmds.c:318
void PortalCleanup(Portal portal)
Definition: portalcmds.c:265
void PerformCursorOpen(DeclareCursorStmt *cstmt, ParamListInfo params, const char *queryString, bool isTopLevel)
Definition: portalcmds.c:42
void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest, char *completionTag)
Definition: portalcmds.c:168
void PerformPortalClose(const char *name)
Definition: portalcmds.c:216
const char * name
Definition: encode.c:521