Header And Logo

PostgreSQL
| The world's most advanced open source database.

portalcmds.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * portalcmds.h
00004  *    prototypes for portalcmds.c.
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/commands/portalcmds.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef PORTALCMDS_H
00015 #define PORTALCMDS_H
00016 
00017 #include "nodes/parsenodes.h"
00018 #include "utils/portal.h"
00019 
00020 
00021 extern void PerformCursorOpen(PlannedStmt *stmt, ParamListInfo params,
00022                   const char *queryString, bool isTopLevel);
00023 
00024 extern void PerformPortalFetch(FetchStmt *stmt, DestReceiver *dest,
00025                    char *completionTag);
00026 
00027 extern void PerformPortalClose(const char *name);
00028 
00029 extern void PortalCleanup(Portal portal);
00030 
00031 extern void PersistHoldablePortal(Portal portal);
00032 
00033 #endif   /* PORTALCMDS_H */