Skip to content

Commit

Permalink
fix pgsql not use instance charset (#2467)
Browse files Browse the repository at this point in the history
fix pgsql not use instance charset
  • Loading branch information
solomon-cc committed Dec 26, 2023
1 parent 10cadc9 commit aa775ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/engines/pgsql.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def get_connection(self, db_name=None):
port=self.port,
user=self.user,
password=self.password,
client_encoding=self.instance.charset,
dbname=db_name,
connect_timeout=10,
)
Expand Down

0 comments on commit aa775ff

Please sign in to comment.