Closed GoogleCodeExporter closed 9 years ago
Running python tests/dbapitests.py also failes with the same error
Original comment by terminatorul@gmail.com
on 27 Aug 2009 at 2:12
I find that if I use the ANSI version of the psqlodbc driver than I can connect
successfully. Do you know why the Unicode driver won't work with pyodbc ?
Original comment by terminatorul@gmail.com
on 5 Sep 2009 at 2:48
The ANSI and Unicode functions are separate functions, so usually it means
either
the driver doesn't have the functions or there are bugs in one but not the
other.
Since it works for you, I'm going to close this out, but it is still searchable
for
others having the same issue. Thanks for reporting what you found.
By the way, using the ANSI connect doesn't mean you can't read and write
Unicode
values, it just means it uses SQLDriverConnectA instead of SQLDriverConnectW.
(Though some drivers do notice which you use and change their behavior.)
Original comment by mkleehammer
on 5 Sep 2009 at 4:47
Original comment by mkleehammer
on 21 Nov 2010 at 4:44
Original issue reported on code.google.com by
terminatorul@gmail.com
on 27 Aug 2009 at 2:03Attachments: