aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1997-09-29 06:01:46 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1997-09-29 06:01:46 +0000
commit51689ece825e077f0077cf26c86b2efa15b76627 (patch)
tree5bddf8c640ea82279596419d545b218d0e8843ba /src
parent5a447b4a260a7a9bce9356a4d107b03aa136e933 (diff)
downloadpostgresql-51689ece825e077f0077cf26c86b2efa15b76627.tar.gz
postgresql-51689ece825e077f0077cf26c86b2efa15b76627.zip
MOVE implementation (added bool ismove to FetchStmt).
Diffstat (limited to 'src')
-rw-r--r--src/include/nodes/nodes.h3
-rw-r--r--src/include/nodes/parsenodes.h16
2 files changed, 3 insertions, 16 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 93b071a6504..f60e39d7914 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: nodes.h,v 1.14 1997/09/08 21:52:47 momjian Exp $
+ * $Id: nodes.h,v 1.15 1997/09/29 06:01:44 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -161,7 +161,6 @@ typedef enum NodeTag
T_ExtendStmt,
T_FetchStmt,
T_IndexStmt,
- T_MoveStmt,
T_ProcedureStmt,
T_PurgeStmt,
T_RecipeStmt,
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index ff5759cd058..0bff16711c8 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: parsenodes.h,v 1.27 1997/09/08 21:52:49 momjian Exp $
+ * $Id: parsenodes.h,v 1.28 1997/09/29 06:01:46 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -268,6 +268,7 @@ typedef struct FetchStmt
int direction; /* FORWARD or BACKWARD */
int howMany; /* amount to fetch ("ALL" --> 0) */
char *portalname; /* name of portal (cursor) */
+ bool ismove; /* TRUE if MOVE */
} FetchStmt;
/* ----------------------
@@ -290,19 +291,6 @@ typedef struct IndexStmt
} IndexStmt;
/* ----------------------
- * Move Statement (Not implemented)
- * ----------------------
- */
-typedef struct MoveStmt
-{
- NodeTag type;
- int direction; /* FORWARD or BACKWARD */
- bool to;
- int where;
- char *portalname;
-} MoveStmt;
-
-/* ----------------------
* Create Function Statement
* ----------------------
*/