mirror of
https://github.com/postgres/postgres.git
synced 2025-07-20 05:03:10 +03:00
Clean up of copyfuncs.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.89 1998/01/11 03:41:38 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.90 1998/01/11 20:01:59 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -1960,6 +1960,8 @@ ViewStmt: CREATE VIEW name AS SelectStmt
|
||||
ViewStmt *n = makeNode(ViewStmt);
|
||||
n->viewname = $3;
|
||||
n->query = (Query *)$5;
|
||||
if (((SelectStmt *)n->query)->sortClause != NULL)
|
||||
elog(ERROR,"Order by and Distinct on views is not implemented.");
|
||||
if (((SelectStmt *)n->query)->unionClause != NULL)
|
||||
elog(ERROR,"Views on unions not implemented.");
|
||||
$$ = (Node *)n;
|
||||
|
Reference in New Issue
Block a user