Re: Updateable Cursors with current PostgreSQL versions

From: "Inoue, Hiroshi" <inoue(at)tpf(dot)co(dot)jp>
To: "JUNG, Christian" <christian(dot)jung(at)shsservices(dot)org>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Updateable Cursors with current PostgreSQL versions
Date: 2011-12-07 23:53:51
Message-ID: 4EDFFC8F.4000102@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi,

(2011/12/08 2:00), JUNG, Christian wrote:
> Hello,
>
> the ODBC-driver has an option to emulate updateable cursors (default "on").

*Updatable Cursors* in psqlodbc means *updatable result set*. You can
call SQLSetPos(.., SQL_UPDATE/SQL_DELETE) or SQLBulkOperations() but
unfortunately psqlodbc driver doesn't support positioned update using
CURRENT OF CURSOR.

regards,
Hiroshi Inoue

> AFAIK are updateable cursors supported since PostgreSQL version 8.3.
Does the driver have to emulate updateable cursors with current
PostgreSQL-versions or should this option be disabled for newer
PostgreSQL releases?
>
> I tried to figur it out myself, but the code is very tricky on the whole configuration stuff... :-S
>
> regards
> Chris
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Saito 2011-12-30 15:32:24 psqlODBC 09.01.0100 Released
Previous Message JUNG, Christian 2011-12-07 17:00:10 Updateable Cursors with current PostgreSQL versions