We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d19bc6d commit 7398dfeCopy full SHA for 7398dfe
src/grammar/postgresql/PostgreSqlParser.g4
@@ -505,10 +505,20 @@ reloption_elem
505
partitionboundspec
506
: KW_FOR KW_VALUES KW_WITH OPEN_PAREN KW_MODULUS numericonly COMMA KW_REMAINDER numericonly CLOSE_PAREN
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
+ | KW_FOR KW_VALUES KW_FROM partitionboundexpr KW_TO partitionboundexpr
509
| KW_DEFAULT
510
;
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
522
altercompositetypestmt
523
: KW_ALTER KW_TYPE any_name alter_type_cmd (COMMA alter_type_cmd)*
524
0 commit comments