WangYjing opened a new issue, #37184:
URL: https://github.com/apache/shardingsphere/issues/37184

   Which version of ShardingSphere did you use?
   ShardingSphere Proxy 5.5.2
   
   Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   Expected behavior
   When using ShardingSphere Proxy, the PostgreSQL JDBC driver should correctly 
parse the native PostgreSQL boolean type values, e.g. 't', into boolean true.
   
   Actual behavior
   When directly connecting to PostgreSQL, the PostgreSQL JDBC driver can 
correctly parse the native boolean value 't' into boolean true.
   However, when accessing the same value through ShardingSphere Proxy, the 
value is returned as the string 'true'.
   This leads to an unexpected format and causes the PostgreSQL JDBC driver to 
misinterpret it during parsing, eventually parsing it as boolean false.


-- 
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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to