Add support for psycopg2 UNICODEARRAY extension
Issue #2894
resolved
SQLAlchemy currently enables psycopg2 UNICODE extension when "use_native_unicode" is requested. The UNICODEARRAY extension should be also be included in this case, as in:
dialects/postgresql/psycopg2.py:
if self.dbapi and self.use_native_unicode:
def on_connect(conn):
extensions.register_type(extensions.UNICODE, conn)
extensions.register_type(extensions.UNICODEARRAY, conn)
fns.append(on_connect)
Comments (2)
-
repo owner -
repo owner - removed milestone
Removing milestone: 0.9.0 (automated comment)
- Log in to comment
this was just done in b2223ab14988317f86fcbb627