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: SQLCODE when using psqlODBC with libODBC++
Date: Tue, 16 May 2006 18:41:39 +0200
Message-ID: <008501c67907$9dbcb5c0$ddf71005@jonathanlaptop> (raw)

I am using PostgreSQL version 8 with psqlODBC as the ODBC driver.

 

I am writing programs in C++ and using libODBC++ for the C++ interface.

 

Everything works great except:

When I get an SQL error it returns SQLCODE of 7 and SQLSTATE of “HY000”
every time.

The only correct value is the SQLERRM.

 

I am probably doing something stupid but I couldn’t find anything anywhere
about it.

 

Jonathan Blitz

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.6/340 - Release Date: 05/15/2006
 

view thread (5+ messages)  latest in thread

Message-ID: <008501c67907$9dbcb5c0$ddf71005@jonathanlaptop>
Permalink:  ../008501c67907$9dbcb5c0$ddf71005@jonathanlaptop/
Also on:    postgresql.org/message-id/008501c67907$9dbcb5c0$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: SQLCODE when using psqlODBC with libODBC++
  In-Reply-To: <008501c67907$9dbcb5c0$ddf71005@jonathanlaptop>
  References: <008501c67907$9dbcb5c0$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