Co-authored-by: zhaoge <>
This commit is contained in:
@ -3258,7 +3258,7 @@ from_list
|
||||
|
||||
table_ref
|
||||
: (
|
||||
relation_expr opt_alias_clause? tablesample_clause?
|
||||
(relation_expr | view_relation_expr) opt_alias_clause? tablesample_clause?
|
||||
| func_table func_alias_clause?
|
||||
| xmltable opt_alias_clause?
|
||||
| select_with_parens opt_alias_clause?
|
||||
@ -3307,6 +3307,10 @@ relation_expr
|
||||
| KW_IN KW_SCHEMA (schema_name | KW_CURRENT_SCHEMA)
|
||||
;
|
||||
|
||||
view_relation_expr
|
||||
: KW_ONLY? view_name STAR? columnlist? where_clause?
|
||||
;
|
||||
|
||||
publication_relation_expr
|
||||
: KW_TABLE KW_ONLY? table_name STAR? (OPEN_PAREN columnlist CLOSE_PAREN)? where_clause?
|
||||
| KW_TABLE KW_ONLY ( table_name | OPEN_PAREN table_name CLOSE_PAREN)
|
||||
|
Reference in New Issue
Block a user