I am using PostgreSQL version 8 with psqlODBC as the ODBC driver.
 
I am writing programs in C++ and using libODBC++ for the C++ interface.
 
Everything works great except:
When I get an SQL error it returns SQLCODE of 7 and SQLSTATE of “HY000” every time.
The only correct value is the SQLERRM.
 
I am probably doing something stupid but I couldn’t find anything anywhere about it.
 
Jonathan Blitz
 
--
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.392 / Virus Database: 268.5.6/340 - Release Date: 05/15/2006