mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
UNION work for UNION ALL and other union stuff.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: parsenodes.h,v 1.39 1997/12/24 06:06:53 momjian Exp $
|
||||
* $Id: parsenodes.h,v 1.40 1997/12/27 06:41:39 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -43,7 +43,8 @@ typedef struct Query
|
||||
char *into; /* portal (cursor) name */
|
||||
bool isPortal; /* is this a retrieve into portal? */
|
||||
bool isBinary; /* binary portal? */
|
||||
|
||||
bool unionall; /* union without unique sort */
|
||||
|
||||
char *uniqueFlag; /* NULL, '*', or Unique attribute name */
|
||||
List *sortClause; /* a list of SortClause's */
|
||||
|
||||
@@ -636,7 +637,7 @@ typedef struct RetrieveStmt
|
||||
Node *havingClause; /* having conditional-expression */
|
||||
List *unionClause; /* union subselect parameters */
|
||||
List *sortClause; /* sort clause (a list of SortGroupBy's) */
|
||||
int unionall; /* union without unique sort */
|
||||
bool unionall; /* union without unique sort */
|
||||
} RetrieveStmt;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user