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-2024, 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 
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 */
#define stmt
Definition: indent_codes.h:59
void PerformCursorOpen(ParseState *pstate, DeclareCursorStmt *cstmt, ParamListInfo params, bool isTopLevel)
Definition: portalcmds.c:45
void PerformPortalClose(const char *name)
Definition: portalcmds.c:224
void PortalCleanup(Portal portal)
Definition: portalcmds.c:273
void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest, QueryCompletion *qc)
Definition: portalcmds.c:177
void PersistHoldablePortal(Portal portal)
Definition: portalcmds.c:326
const char * name