View Single Post

   
  #2 (permalink)  
Old 04-16-2008, 02:59 AM
Ludek Finstrle
 
Posts: n/a
Default Re: 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


....

> Is this a bug or am I doing something wrong?


It's normal behaviour. Let's try read sqlstate (I don't know how it is
accessed through VC++ ODBC classes.

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote