diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-12-30 15:31:51 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-12-30 15:31:51 +0000 |
commit | 33f0108df8a79cdb6dbf91f7eb4329143c0730d8 (patch) | |
tree | a04245944b6e99a5710cca9651893bed47686f3c /src/include/nodes/parsenodes.h | |
parent | a0fa0117a5ad728b6f85a39cc52006736f54f90e (diff) |
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/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index c409ec7ea84..0f9b7613a00 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.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: parsenodes.h,v 1.223 2002/12/12 20:35:16 tgl Exp $ + * $Id: parsenodes.h,v 1.224 2002/12/30 15:31:51 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1198,7 +1198,7 @@ typedef struct FetchStmt { NodeTag type; int direction; /* FORWARD or BACKWARD */ - int howMany; /* amount to fetch */ + long howMany; /* amount to fetch */ char *portalname; /* name of portal (cursor) */ bool ismove; /* TRUE if MOVE */ } FetchStmt; |