Re: SQLCODE when using psqlODBC with libODBC++

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: SQLCODE when using psqlODBC with libODBC++
Date: 2006-05-19 08:02:58
Message-ID: 20060519080258.GB12232@soptik.pzkagis.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

You specify no psqlODBC version. Older versions have this bad behaviour.
So if I use my crystal ball I see there only upgrade advice.

> Everything works great except:
>
> When I get an SQL error it returns SQLCODE of 7 and SQLSTATE of “HY000”
> every time.

Regards,

Luf

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Jonathan Blitz 2006-05-19 10:23:59 Re: SQLCODE when using psqlODBC with libODBC++
Previous Message noreply 2006-05-19 05:23:01 [ psqlodbc-Bugs-1000648 ] Visual Studio 2005 DataSet Designer "Add Query..." wizard fails with a syntax error if SELECT query contains a WHERE clause