summaryrefslogtreecommitdiff
path: root/src/include/nodes/parsenodes.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-09-03 03:19:45 +0000
committerBruce Momjian <bruce@momjian.us>2006-09-03 03:19:45 +0000
commit0e20c485617c3bcde8d9f0759d5ee1ef1c442004 (patch)
tree32d5363c51684442eb74103f47baccb1c3f175c0 /src/include/nodes/parsenodes.h
parentd387a0705058af6d07390dec5cb56a4720a302a6 (diff)
Revert FETCH/MOVE int64 patch. Was using incorrect checks for
fetch/move in scan.l.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r--src/include/nodes/parsenodes.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 71ba4af83b2..40708404fcc 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -7,15 +7,13 @@
* 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.328 2006/09/03 01:15:40 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.329 2006/09/03 03:19:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PARSENODES_H
#define PARSENODES_H
-#include "limits.h"
-
#include "nodes/primnodes.h"
#include "nodes/value.h"
@@ -1441,18 +1439,13 @@ typedef enum FetchDirection
FETCH_RELATIVE
} FetchDirection;
-#ifdef HAVE_INT64
-#define FETCH_ALL LLONG_MAX
-#else
#define FETCH_ALL LONG_MAX
-#endif
-
typedef struct FetchStmt
{
NodeTag type;
FetchDirection direction; /* see above */
- int64 howMany; /* number of rows, or position argument */
+ long howMany; /* number of rows, or position argument */
char *portalname; /* name of portal (cursor) */
bool ismove; /* TRUE if MOVE */
} FetchStmt;