Return code for bad command - Mailing list pgsql-odbc

From Jonathan Blitz
Subject Return code for bad command
Date
Msg-id 077401c68762$a4e0d2a0$ddf71005@jonathanlaptop
Whole thread Raw
Responses Re: Return code for bad command  (Ludek Finstrle <luf@pzkagis.cz>)
List pgsql-odbc

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

pgsql-odbc by date:

Previous
From: "raja chidambaram"
Date:
Subject: [BUGS] BUG #2460: bug on postgres crash recovery
Next
From: Ludek Finstrle
Date:
Subject: Re: Return code for bad command