summaryrefslogtreecommitdiff
path: root/src/include/nodes
diff options
context:
space:
mode:
authorBruce Momjian1998-01-10 04:30:11 +0000
committerBruce Momjian1998-01-10 04:30:11 +0000
commite6c714bf30a28cb790c7b99712486bcecefda679 (patch)
tree60ccbca159d19b6e566a788afdd569f402b6eb2c /src/include/nodes
parente7b205b486cbf164362f53ea0c99e01fbdb4f483 (diff)
Bye CursorStmt, now use SelectStmt.
Diffstat (limited to 'src/include/nodes')
-rw-r--r--src/include/nodes/nodes.h3
-rw-r--r--src/include/nodes/parsenodes.h21
2 files changed, 4 insertions, 20 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index d6d787c93a7..3f87ca202ac 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.21 1998/01/09 21:13:43 momjian Exp $
+ * $Id: nodes.h,v 1.22 1998/01/10 04:30:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -145,7 +145,6 @@ typedef enum NodeTag
T_InsertStmt,
T_DeleteStmt,
T_UpdateStmt,
- T_CursorStmt,
T_SelectStmt,
T_AddAttrStmt,
T_AggregateStmt,
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index f898880f6de..9bc99568573 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.41 1998/01/09 20:06:08 momjian Exp $
+ * $Id: parsenodes.h,v 1.42 1998/01/10 04:30:11 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -605,23 +605,6 @@ typedef struct UpdateStmt
} UpdateStmt;
/* ----------------------
- * Create Cursor Statement
- * ----------------------
- */
-typedef struct CursorStmt
-{
- NodeTag type;
- char *portalname; /* the portal (cursor) to create */
- bool binary; /* a binary (internal) portal? */
- char *unique; /* NULL, "*", or unique attribute name */
- List *targetList; /* the target list (of ResTarget) */
- List *fromClause; /* the from clause */
- Node *whereClause; /* qualifications */
- List *groupClause; /* group by clause */
- List *sortClause; /* sort clause (a list of SortGroupBy's) */
-} CursorStmt;
-
-/* ----------------------
* Select Statement
* ----------------------
*/
@@ -637,6 +620,8 @@ typedef struct SelectStmt
Node *havingClause; /* having conditional-expression */
List *unionClause; /* union subselect parameters */
List *sortClause; /* sort clause (a list of SortGroupBy's) */
+ char *portalname; /* the portal (cursor) to create */
+ bool binary; /* a binary (internal) portal? */
bool unionall; /* union without unique sort */
} SelectStmt;