Re: Return code for bad command

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: Jonathan Blitz <jb(at)anykey(dot)co(dot)il>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Return code for bad command
Date: 2006-06-04 16:04:43
Message-ID: 20060604160443.GA21059@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

...

> 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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Jonathan Blitz 2006-06-04 17:06:42 Re: Return code for bad command
Previous Message Jonathan Blitz 2006-06-03 23:08:31 Return code for bad command