1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Bye CursorStmt, now use SelectStmt.

This commit is contained in:
Bruce Momjian
1998-01-10 04:30:11 +00:00
parent e7b205b486
commit e6c714bf30
4 changed files with 26 additions and 69 deletions

View File

@@ -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 $
*
*-------------------------------------------------------------------------
*/
@@ -604,23 +604,6 @@ typedef struct UpdateStmt
List *fromClause; /* the from clause */
} 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;