Re: (Fwd) SQLSetPos problem under Linux

From: Richard Huxton <dev(at)archonet(dot)com>
To: lothar(dot)behrens(at)lollisoft(dot)de
Cc: "Pgsql-Odbc(at)Postgresql(dot)Org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: (Fwd) SQLSetPos problem under Linux
Date: 2005-02-24 11:47:54
Message-ID: 421DBEEA.9090200@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

lothar(dot)behrens(at)lollisoft(dot)de wrote:
> Hi,
>
> is there really no answer for me ?

I'm not sure the question was clear.

> I have the following problem under Linux:
>
> I use SQLSetpos to update data at current cursor position with SQL_UPDATE.
> I get back an error message, that only SQL_POSITION/REFRESH is supported.

> Does this limitation come from your ODBC driver or is it limited by unixODBC ?

> Or, how must I activate these functionality while building it from sources ?
> With your windows ODBC driver (version 7.3.200), I do not have these problems.

So - "SQLSetpos+SQL_UPDATE" works with the ODBC driver under Windows.
It doesn't work under unixODBC on Suse 9.1

Well, the ODBC driver is presumably the same - AFAIK the same code
builds Windows and Unix versions. This suggests the problem lies elsewhere.

Are you sure the SQL being executed is the same in both cases? Try
turning on statement logging in PostgreSQL and check.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message U K Laxmi 2005-02-24 12:01:12 unsubscribe
Previous Message Dave Page 2005-02-24 08:13:36 Re: Unix domain socket