1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-06 07:49:08 +03:00

Change FETCH/MOVE to use int8.

Dhanaraj M
This commit is contained in:
Bruce Momjian
2006-09-02 18:17:18 +00:00
parent 87eb130ad8
commit 6c785d599d
10 changed files with 109 additions and 52 deletions

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.326 2006/08/30 23:34:22 tgl Exp $
* $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.327 2006/09/02 18:17:17 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1439,13 +1439,13 @@ typedef enum FetchDirection
FETCH_RELATIVE
} FetchDirection;
#define FETCH_ALL LONG_MAX
#define FETCH_ALL LLONG_MAX
typedef struct FetchStmt
{
NodeTag type;
FetchDirection direction; /* see above */
long howMany; /* number of rows, or position argument */
int64 howMany; /* number of rows, or position argument */
char *portalname; /* name of portal (cursor) */
bool ismove; /* TRUE if MOVE */
} FetchStmt;