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 2021/06/15 07:28:19 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue #10814: PostgreSQL Proxy doesn't support Parse & Describe only

TeslaCN opened a new issue #10814:
URL: https://github.com/apache/shardingsphere/issues/10814


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   master
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   Proxy
   
   ### Expected behavior
   
   ### Actual behavior
   
   Client sent:
   ```
   PostgreSQL
       Type: Parse
       Length: 42
       Statement: 
       Query: select * from t_order limit $1
       Parameters: 1
           Type OID: 0
   PostgreSQL
       Type: Describe
       Length: 6
       Statement: 
   PostgreSQL
       Type: Sync
       Length: 4
   ```
   
   Proxy replied:
   ```
   PostgreSQL
       Type: Parse completion
       Length: 4
   PostgreSQL
       Type: Ready for query
       Length: 5
       Status: Idle (73)
   ```
   
   The client sent `Describe`, but the server didn't reply the `RowDescription` or `NoData` packet.
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ```java
   PreparedStatement preparedStatement = connection.prepareStatement("select * from t_order limit ?");
   ResultSetMetaData metaData = preparedStatement.getMetaData();
   ```
   


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



[GitHub] [shardingsphere] tristaZero closed issue #10814: PostgreSQL Proxy doesn't support Parse & Describe only

Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #10814:
URL: https://github.com/apache/shardingsphere/issues/10814


   


-- 
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-unsubscribe@shardingsphere.apache.org

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