If i remember well, you need to disable native_unicode with psycopg2 when 
using a pool of connections with SA.

return sqlalchemy.create_engine(connection, pool_recycle=180,  ...
becomes:
return sqlalchemy.create_engine(connection, use_native_unicode=False, 
pool_recycle=180,  ...

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/xyttqza8fZgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to