TeslaCN commented on issue #13621:
URL: 
https://github.com/apache/shardingsphere/issues/13621#issuecomment-974590821


   Hi @penghuazhou 
   Thanks for your feedback!
   My idea is:
   1. Change the enum `PostgreSQLMessageSeverityLevel` to a class, refactor 
each element to String.
   2. Change the first parameter's type of 
`org.apache.shardingsphere.db.protocol.postgresql.packet.generic.PostgreSQLErrorResponsePacket#newBuilder`
 to `String`, so that we can pass the constants or severity directly to the 
method and no need to `valueOf`.
   
   Are you interested in fixing this issue? Or we will fix it later.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org

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


Reply via email to