summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-12-30 15:31:51 +0000
committerBruce Momjian <bruce@momjian.us>2002-12-30 15:31:51 +0000
commit33f0108df8a79cdb6dbf91f7eb4329143c0730d8 (patch)
treea04245944b6e99a5710cca9651893bed47686f3c /src/include/commands
parenta0fa0117a5ad728b6f85a39cc52006736f54f90e (diff)
downloadpostgresql-33f0108df8a79cdb6dbf91f7eb4329143c0730d8.tar.gz
Cause FETCH 1 to return the current cursor row, or zero if at
beginning/end of cursor. Have MOVE return 0/1 depending on cursor position. Matches SQL spec. Pass cursor counter from parser as a long rather than int. Doc updates.
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/portalcmds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/portalcmds.h b/src/include/commands/portalcmds.h
index 5526ac997d..d143423f6a 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.3 2002/11/13 00:44:09 momjian Exp $
+ * $Id: portalcmds.h,v 1.4 2002/12/30 15:31:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -25,7 +25,7 @@
* BadArg if forward invalid.
* "ERROR" if portal not found.
*/
-extern void PerformPortalFetch(char *name, bool forward, int count,
+extern void PerformPortalFetch(char *name, bool forward, long count,
CommandDest dest, char *completionTag);
/*