Teradata / PyTd

A Python Module to make it easy to script powerful interactions with Teradata Database in a DevOps friendly way.
MIT License
108 stars 43 forks source link

Unable to get SQL error messages on Linux, instead get SQL_ERROR returned from SQLGetDiagRecW #33

Closed escheie closed 8 years ago

escheie commented 8 years ago

After upgrading to the latest release of the Teradata 15.10 ODBC driver, calls to get detailed error messages when an ODBC error occurs fails with "SQL_ERROR returned from SQLGetDiagRecW ".

Reducing the buffer size used to get the error message works around the problem.