Skip to content
Snippets Groups Projects
Commit 51689ece authored by Vadim B. Mikheev's avatar Vadim B. Mikheev
Browse files

MOVE implementation (added bool ismove to FetchStmt).

parent 5a447b4a
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 ...@@ -161,7 +161,6 @@ typedef enum NodeTag
T_ExtendStmt, T_ExtendStmt,
T_FetchStmt, T_FetchStmt,
T_IndexStmt, T_IndexStmt,
T_MoveStmt,
T_ProcedureStmt, T_ProcedureStmt,
T_PurgeStmt, T_PurgeStmt,
T_RecipeStmt, T_RecipeStmt,
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 ...@@ -268,6 +268,7 @@ typedef struct FetchStmt
int direction; /* FORWARD or BACKWARD */ int direction; /* FORWARD or BACKWARD */
int howMany; /* amount to fetch ("ALL" --> 0) */ int howMany; /* amount to fetch ("ALL" --> 0) */
char *portalname; /* name of portal (cursor) */ char *portalname; /* name of portal (cursor) */
bool ismove; /* TRUE if MOVE */
} FetchStmt; } FetchStmt;
/* ---------------------- /* ----------------------
...@@ -289,19 +290,6 @@ typedef struct IndexStmt ...@@ -289,19 +290,6 @@ typedef struct IndexStmt
bool unique; /* is index unique? */ bool unique; /* is index unique? */
} 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 * Create Function Statement
* ---------------------- * ----------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment