Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharding-proxy Query result :extraneous data in "D" message ,reason: have chinese #2343

Closed
bxvs888 opened this issue May 7, 2019 · 4 comments · Fixed by #2352
Closed

Sharding-proxy Query result :extraneous data in "D" message ,reason: have chinese #2343

bxvs888 opened this issue May 7, 2019 · 4 comments · Fixed by #2352
Assignees
Milestone

Comments

@bxvs888
Copy link

bxvs888 commented May 7, 2019

Bug Report

For English only, other languages will not accept.

Before report a bug, make sure you have:

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.

Please answer these questions before submitting your issue. Thanks!

Which version of ShardingSphere did you use?

4.0.0-RC1

Which project did you use? Sharding-JDBC or Sharding-Proxy?

Sharding-Proxy

Expected behavior

table data have Chinese .select * from table show error message :
extraneous data in "D" message

Actual behavior

proxy backend POSTGRES , frontend postgres

Reason analyze (If you can)

reason Chinese , Postgres server_encoding ,client_encoding UTF-8

Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.

any table ,have Chinese is error.

Example codes for reproduce this issue (such as a github link).

@terrymanu terrymanu added this to the 4.0.0.M2 milestone May 8, 2019
@tuohai666
Copy link
Member

What is your OS? MAC, Linux or Windows?

@tuohai666
Copy link
Member

What is your OS? MAC, Linux or Windows?

I found that it is not encoding but a protocol problem.

terrymanu added a commit that referenced this issue May 8, 2019
#2343, Chinese character for PostgreSQL
@bxvs888
Copy link
Author

bxvs888 commented May 8, 2019

MAC, linux 都测试过,都是这样。

@tuohai666
Copy link
Member

@bxvs888 fixed in 4.0.0-RC2-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants