You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: postgresql/PostgreSQLParser.g4
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2813,7 +2813,7 @@ opt_hold
2813
2813
;
2814
2814
/*
2815
2815
TODO: why select_with_parens alternative is needed at all?
2816
-
i guess it because original byson grammar can choose selectstmt(2)->select_with_parens on only OPEN_PARENT/SELECT kewords at the begining of statement;
2816
+
i guess it because original bison grammar can choose selectstmt(2)->select_with_parens on only OPEN_PAREN/SELECT kewords at the begining of statement;
2817
2817
(select * from tab);
2818
2818
parse can go through selectstmt( )->select_no_parens(1)->select_clause(2)->select_with_parens(1)->select_no_parens(1)->select_clause(1)->simple_select
2819
2819
instead of selectstmt(1)->select_no_parens(1)->select_clause(2)->select_with_parens(1)->select_no_parens(1)->select_clause(1)->simple_select
0 commit comments