]> granicus.if.org Git - postgresql/commitdiff
MOVE implementation (added bool ismove to FetchStmt).
authorVadim B. Mikheev <vadim4o@yahoo.com>
Mon, 29 Sep 1997 06:01:46 +0000 (06:01 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Mon, 29 Sep 1997 06:01:46 +0000 (06:01 +0000)
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h

index 93b071a65041cd26912a4474ac2fb2ad9f8815ad..f60e39d79143084840d7b228aefe8b01e1432091 100644 (file)
@@ -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,
index ff5759cd05830f47677a886565a127c75f8ee2fd..0bff16711c83bed18c26bf886a6dc98ca941542f 100644 (file)
@@ -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;
 
 /* ----------------------
@@ -289,19 +290,6 @@ typedef struct IndexStmt
        bool            unique;                 /* is index unique? */
 } 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
  * ----------------------