File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -505,10 +505,20 @@ reloption_elem
505
505
partitionboundspec
506
506
: KW_FOR KW_VALUES KW_WITH OPEN_PAREN KW_MODULUS numericonly COMMA KW_REMAINDER numericonly CLOSE_PAREN
507
507
| KW_FOR KW_VALUES KW_IN execute_param_clause
508
- | KW_FOR KW_VALUES KW_FROM execute_param_clause KW_TO execute_param_clause
508
+ | KW_FOR KW_VALUES KW_FROM partitionboundexpr KW_TO partitionboundexpr
509
509
| KW_DEFAULT
510
510
;
511
511
512
+ partitionboundexpr
513
+ : OPEN_PAREN partitionboundchoose (COMMA partitionboundchoose)* CLOSE_PAREN
514
+ ;
515
+
516
+ partitionboundchoose
517
+ : expr_list
518
+ | KW_MINVALUE
519
+ | KW_MAXVALUE
520
+ ;
521
+
512
522
altercompositetypestmt
513
523
: KW_ALTER KW_TYPE any_name alter_type_cmd (COMMA alter_type_cmd)*
514
524
;
You can’t perform that action at this time.
0 commit comments