> 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