From: Ludek Finstrle <luf@pzkagis.cz>
To: Jonathan Blitz <jb@anykey.co.il>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Return code for bad command
Date: Sun, 4 Jun 2006 18:04:43 +0200
Message-ID: <20060604160443.GA21059@soptik.pzkagis.cz> (raw)
In-Reply-To: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop>
References: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop>
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: luf@pzkagis.cz, jb@anykey.co.il
Subject: Re: Return code for bad command
In-Reply-To: <20060604160443.GA21059@soptik.pzkagis.cz>
References: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop> <20060604160443.GA21059@soptik.pzkagis.cz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox