]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed a long-standing bug where the :class:`.Enum` type as used
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Apr 2015 16:02:51 +0000 (12:02 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 4 Apr 2015 16:02:51 +0000 (12:02 -0400)
commitecd7b31d5eaed138e699293719f70260da3c978d
tree9290647481a09b18e37a438428e68f379191baa8
parentee40c7afaabe33e2080607de0045a9fd0a4748d8
- Fixed a long-standing bug where the :class:`.Enum` type as used
with the psycopg2 dialect in conjunction with non-ascii values
and ``native_enum=False`` would fail to decode return results properly.
This stemmed from when the PG :class:`.postgresql.ENUM` type used
to be a standalone type without a "non native" option.
fixes #3354
- corrected the assertsql comparison rule to expect a non-ascii
SQL string
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/dialects/postgresql/psycopg2.py
lib/sqlalchemy/testing/assertsql.py
test/dialect/postgresql/test_types.py