You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/10/21 08:30:55 UTC

[GitHub] [shardingsphere] dongzl commented on a change in pull request #7866: Optimize PostgreSQL g4 grammar, remove underline.

dongzl commented on a change in pull request #7866:
URL: https://github.com/apache/shardingsphere/pull/7866#discussion_r509089375



##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/imports/postgresql/BaseRule.g4
##########
@@ -1326,20 +1369,16 @@ dataTypeLength
     : LP_ NUMBER_ (COMMA_ NUMBER_)? RP_
     ;
 
-characterSet_
-    : (CHARACTER | CHAR) SET EQ_? ignoredIdentifier_
-    ;
-
-collateClause_
-    : COLLATE EQ_? (STRING_ | ignoredIdentifier_)

Review comment:
       @jingshanglu , This file already has a rule, called `collateClause`. If rename `collateClause_` to `collateClause` directly, it will cause conflict.
   
   I compare `collateClause_` and `collateClause`, merge them into one `collateClause`.
   
   Please check it for me.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org