This is an automated email from the ASF dual-hosted git repository.

wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new bae5796c2df set standard confirming strings to "on" (#24038)
bae5796c2df is described below

commit bae5796c2df4b0845e637ba9c0cf52bc72628ed4
Author: surukonda <[email protected]>
AuthorDate: Tue Feb 7 13:37:10 2023 +0530

    set standard confirming strings to "on" (#24038)
    
    Co-authored-by: santhosh <>
---
 .../postgresql/authentication/PostgreSQLAuthenticationEngine.java        | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/proxy/frontend/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngine.java
 
b/proxy/frontend/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngine.java
index 63202e98bab..af527b83d49 100644
--- 
a/proxy/frontend/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngine.java
+++ 
b/proxy/frontend/postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngine.java
@@ -106,6 +106,7 @@ public final class PostgreSQLAuthenticationEngine 
implements AuthenticationEngin
         context.write(new PostgreSQLParameterStatusPacket("client_encoding", 
clientEncoding));
         context.write(new PostgreSQLParameterStatusPacket("server_encoding", 
"UTF8"));
         context.write(new PostgreSQLParameterStatusPacket("integer_datetimes", 
"on"));
+        context.write(new 
PostgreSQLParameterStatusPacket("standard_conforming_strings", "on"));
         
context.writeAndFlush(PostgreSQLReadyForQueryPacket.NOT_IN_TRANSACTION);
         return 
AuthenticationResultBuilder.finished(currentAuthResult.getUsername(), "", 
currentAuthResult.getDatabase());
     }

Reply via email to