summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorTom Lane2003-03-11 19:40:24 +0000
committerTom Lane2003-03-11 19:40:24 +0000
commit6261c75014c9948837d9d025493ef18b8f833f70 (patch)
treef7d75ca8cfa6a093d0fde2f707ae48e90ced7771 /src/include/commands
parente4704001ea4c3d63b53e8783859ff598ef2f69e5 (diff)
Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n options
for FETCH and MOVE.
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/portalcmds.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/commands/portalcmds.h b/src/include/commands/portalcmds.h
index 3f2a4221add..74855ddf605 100644
--- a/src/include/commands/portalcmds.h
+++ b/src/include/commands/portalcmds.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: portalcmds.h,v 1.5 2003/03/10 03:53:51 tgl Exp $
+ * $Id: portalcmds.h,v 1.6 2003/03/11 19:40:23 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,10 +19,12 @@
extern void PerformCursorOpen(DeclareCursorStmt *stmt, CommandDest dest);
-extern void PerformPortalFetch(char *name, bool forward, long count,
- CommandDest dest, char *completionTag);
+extern void PerformPortalFetch(FetchStmt *stmt, CommandDest dest,
+ char *completionTag);
-extern long DoPortalFetch(Portal portal, bool forward, long count,
+extern long DoPortalFetch(Portal portal,
+ FetchDirection fdirection,
+ long count,
CommandDest dest);
extern void PerformPortalClose(char *name);