You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connection is successful with the ascii driver psqlodbca.so but returns incorrect characters.
Connection also works with either driver with unixodbc via isql -v db_with_unicode_driver.
I'm on an M1 mac and the driver is Mach-O 64-bit bundle arm64.
The obscure error message in a 3rd party app made this hard to diagnose, so if this is an error that needs to be fixed in the driver it would still be super useful to improve the error message here.
The text was updated successfully, but these errors were encountered:
Looks like I was missing DriverUnicodeType=1, which wasn't needed for unixodbc.
Happy to close this, or can leave open for improving the error message when that is missing?
Jamedjo
changed the title
Unicode version of psqlodbc fails on M1 Mac with SQLDriverConnect = ?????????? (101) SQLSTATE=??1
Obscure error message "SQLDriverConnect = ?????????? (101) SQLSTATE=??1" for unicode psqlodbc
Jul 11, 2024
Using psqlodbcw.so from
brew install psqlodbc
produces the following error in iODBC, while working fine in unixodbc:/Library/Application\ Support/iODBC/bin/iodbctest "DSN=db_with_unicode_driver"
Connection is successful with the ascii driver psqlodbca.so but returns incorrect characters.
Connection also works with either driver with unixodbc via
isql -v db_with_unicode_driver
.I'm on an M1 mac and the driver is
Mach-O 64-bit bundle arm64
.The obscure error message in a 3rd party app made this hard to diagnose, so if this is an error that needs to be fixed in the driver it would still be super useful to improve the error message here.
The text was updated successfully, but these errors were encountered: