SQLCODE when using psqlODBC with libODBC++ - Mailing list pgsql-odbc

From Jonathan Blitz
Subject SQLCODE when using psqlODBC with libODBC++
Date
Msg-id 008501c67907$9dbcb5c0$ddf71005@jonathanlaptop
Whole thread Raw
Responses Re: SQLCODE when using psqlODBC with libODBC++
List pgsql-odbc

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

pgsql-odbc by date:

Previous
From: zhaoxin
Date:
Subject: how mapping the TEXT Type to the ODBC Type ?
Next
From: Bart Samwel
Date:
Subject: Output parameters