mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
35 lines
908 B
C
35 lines
908 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* 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.6 2003/03/11 19:40:23 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);
|
|
|
|
#endif /* PORTALCMDS_H */
|