pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: lothar.behrens@lollisoft.de
Cc: Pgsql-Odbc@Postgresql.Org <pgsql-odbc@postgresql.org>
Subject: Re: (Fwd) SQLSetPos problem under Linux
Date: Thu, 24 Feb 2005 11:47:54 +0000
Message-ID: <421DBEEA.9090200@archonet.com> (raw)
In-Reply-To: <421D80B6.17135.23D327@localhost>
References: <421D80B6.17135.23D327@localhost>

lothar.behrens@lollisoft.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



view thread (3+ messages)  latest in thread

Message-ID: <421DBEEA.9090200@archonet.com>
Permalink:  ../421DBEEA.9090200@archonet.com/
Also on:    postgresql.org/message-id/421DBEEA.9090200@archonet.com

 · 

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: dev@archonet.com, lothar.behrens@lollisoft.de
  Subject: Re: (Fwd) SQLSetPos problem under Linux
  In-Reply-To: <421DBEEA.9090200@archonet.com>
  References: <421D80B6.17135.23D327@localhost> <421DBEEA.9090200@archonet.com>

* 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