View Single Post

   
  #1 (permalink)  
Old 04-16-2008, 01:59 AM
Jonathan Blitz
 
Posts: n/a
Default Return code for bad command

I am using PostgreSQL version 8.0 with VC++ 2005.



I use the native VC++ ODBC classes to access the PostgreSQL ODBC driver.



When I issue an SQL command with an error I always get the same error code:
7



The message is ok but the code would be kinda useful – don’t really want to
start parsing the message.



I tried it with the 8.02.00.02 driver and the ANSI version of the 8.01.02.00



Both give the same result.



Is this a bug or am I doing something wrong?



Jonathan Blitz


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 06/02/2006


Reply With Quote