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-2020, 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 "parser/parse_node.h"
19 #include "utils/portal.h"
20 
21 
22 extern void PerformCursorOpen(ParseState *pstate, DeclareCursorStmt *cstmt, ParamListInfo params,
23  bool isTopLevel);
24 
25 extern void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest,
26  QueryCompletion *qc);
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 */
void PersistHoldablePortal(Portal portal)
Definition: portalcmds.c:317
void PortalCleanup(Portal portal)
Definition: portalcmds.c:264
void PerformPortalClose(const char *name)
Definition: portalcmds.c:215
void PerformCursorOpen(ParseState *pstate, DeclareCursorStmt *cstmt, ParamListInfo params, bool isTopLevel)
Definition: portalcmds.c:42
const char * name
Definition: encode.c:555
void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest, QueryCompletion *qc)
Definition: portalcmds.c:168