portalcmds.h 849 字节
Newer Older
1 2 3 4 5 6 7 8 9
/*-------------------------------------------------------------------------
 *
 * 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
 *
10
 * $Id: portalcmds.h,v 1.8 2003/05/02 20:54:35 tgl Exp $
11 12 13 14 15 16 17 18
 *
 *-------------------------------------------------------------------------
 */
#ifndef PORTALCMDS_H
#define PORTALCMDS_H

#include "utils/portal.h"

19 20 21

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

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

25
extern void PerformPortalClose(char *name);
26

27
extern void PortalCleanup(Portal portal, bool isError);
28

29 30
extern void PersistHoldablePortal(Portal portal);

B
Bruce Momjian 已提交
31
#endif   /* PORTALCMDS_H */