]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Added client_encoding parameter to create_engine()
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 Oct 2011 19:05:51 +0000 (15:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 15 Oct 2011 19:05:51 +0000 (15:05 -0400)
commit5397d953650c3b7728e8285c55c32c5eeb687de9
tree78ba88f9d3826fa22489061d14852045022c2326
parent80c68c0e22e2b45b3eaffcb7485d6a9f5eb02ba4
- Added client_encoding parameter to create_engine()
when the postgresql+psycopg2 dialect is used;
calls the psycopg2 set_client_encoding() method
with the value upon connect.  [ticket:1839]
CHANGES
lib/sqlalchemy/dialects/postgresql/psycopg2.py
test/dialect/test_postgresql.py