Changeset: 2c0c1c1d43ca for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/2c0c1c1d43ca
Modified Files:
sql/server/sql_parser.y
Branch: Mar2025
Log Message:
added create or replace temp view
diffs (21 lines):
diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y
--- a/sql/server/sql_parser.y
+++ b/sql/server/sql_parser.y
@@ -2289,6 +2289,17 @@ view_def:
append_int(l, $1);
$$ = _symbol_create_list( SQL_CREATE_VIEW, l );
}
+ | CREATE OR REPLACE opt_temp VIEW qname opt_column_list AS SelectStmt
opt_with_check_option
+ { dlist *l = L();
+ append_int(l, SQL_PERSIST);
+ append_list(l, $6);
+ append_list(l, $7);
+ append_symbol(l, $9);
+ append_int(l, $10);
+ append_int(l, TRUE); /* persistent view */
+ append_int(l, $4);
+ $$ = _symbol_create_list( SQL_CREATE_VIEW, l );
+ }
;
opt_with_check_option:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]