You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "AsyncKurisu (via GitHub)" <gi...@apache.org> on 2026/04/21 13:26:32 UTC

Re: [I] Force UTF-8 Encoding for PostgreSQL Backend Connections in ShardingSphere-Proxy [shardingsphere]

AsyncKurisu commented on issue #36382:
URL: https://github.com/apache/shardingsphere/issues/36382#issuecomment-4288887919

   I’d like to solve this issue.
   My short analysis is that we should make PostgreSQL client_encoding behavior explicit and consistent by enforcing a UTF-8-only policy in Proxy:
   1. Accept only UTF-8 aliases for client_encoding in PostgreSQLCharsetVariableProvider.java and normalize accepted values to UTF-8 internally.
   2. Reject non-UTF8 values with InvalidParameterValueException.


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