chtd / psycopg2cffi

Port to cffi with some speed improvements
Other
177 stars 43 forks source link

Fix errorcodes.lookup, add a test: see #67 #68

Closed lopuhin closed 8 years ago

lopuhin commented 8 years ago

The actual fix is just using six.string_types instead of str. The bug was introduced when adding unicode literals during python 3 port.