aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/portalcmds.h
blob: 66bfca2b8b6b81c549ae8ddcfd1b22716d03f8cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*-------------------------------------------------------------------------
 *
 * portalcmds.h
 *	  prototypes for portalcmds.c.
 *
 *
 * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $Id: portalcmds.h,v 1.7 2003/04/29 03:21:30 tgl Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef PORTALCMDS_H
#define PORTALCMDS_H

#include "utils/portal.h"


extern void PerformCursorOpen(DeclareCursorStmt *stmt, CommandDest dest);

extern void PerformPortalFetch(FetchStmt *stmt, CommandDest dest,
							   char *completionTag);

extern long DoPortalFetch(Portal portal,
						  FetchDirection fdirection,
						  long count,
						  CommandDest dest);

extern void PerformPortalClose(char *name);

extern void PortalCleanup(Portal portal, bool isError);

#endif   /* PORTALCMDS_H */