pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Blitz <jb@anykey.co.il>
To: pgsql-odbc@postgresql.org
Subject: Return code for bad command
Date: Sun, 4 Jun 2006 01:08:31 +0200
Message-ID: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop> (raw)

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
 

view thread (3+ messages)  latest in thread

Message-ID: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop>
Permalink:  ../077401c68762$a4e0d2a0$ddf71005@jonathanlaptop/
Also on:    postgresql.org/message-id/077401c68762$a4e0d2a0$ddf71005@jonathanlaptop

 · 

reply

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: jb@anykey.co.il
  Subject: Re: Return code for bad command
  In-Reply-To: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop>
  References: <077401c68762$a4e0d2a0$ddf71005@jonathanlaptop>

* 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