rawwar commented on code in PR #38831:
URL: https://github.com/apache/airflow/pull/38831#discussion_r1590966792


##########
airflow/providers/postgres/hooks/postgres.py:
##########
@@ -159,6 +172,10 @@ def get_conn(self) -> connection:
             ]:
                 conn_args[arg_name] = arg_val
 
+        client_encoding = conn.extra_dejson.get("client_encoding")
+        if isinstance(client_encoding, str):
+            conn_args["client_encoding"] = client_encoding
+

Review Comment:
   I had to change this to make `test_get_uri` test pass. Now that I think of 
it, I probably should be just updating the test instead of changing this.



-- 
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: commits-unsubscr...@airflow.apache.org

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

Reply via email to