While performing an upgrade, our in-house software started to report the following strange error. It is a C++ application talking to a remote PostgreSQL database, defined through ODBC:

ODBC error state S1092, native error 0. 
[unixODBC][Driver Manager]Invalid attribute/option identifier

Both the client and the server are Centos 5.4 Xen guests with the following RPMs installed:


Its possible the schema changed as part of the upgrade, could this explain the error message? What does this error message actually indicate, and do you know any likely causes of it?


Maybe there is something wrong not with PostgrSQL ODBC, but with unixODBC driver manager. Enable tracing of ODBC functions and see what causes this error.

To enable tracing you must edit your odbcinst.ini and do something like:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.