From: Inoue, Hiroshi <inoue@tpf.co.jp>
To: JUNG, Christian <christian.jung@shsservices.org>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Updateable Cursors with current PostgreSQL versions
Date: Thu, 08 Dec 2011 08:53:51 +0900
Message-ID: <4EDFFC8F.4000102@tpf.co.jp> (raw)
In-Reply-To: <24BB5F92CE3E62419C5A6D5B1A1E0F46065E9254@nts58.saarstahl.de>
References: <24BB5F92CE3E62419C5A6D5B1A1E0F46065E9254@nts58.saarstahl.de>
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
>
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: inoue@tpf.co.jp, christian.jung@shsservices.org
Subject: Re: Updateable Cursors with current PostgreSQL versions
In-Reply-To: <4EDFFC8F.4000102@tpf.co.jp>
References: <24BB5F92CE3E62419C5A6D5B1A1E0F46065E9254@nts58.saarstahl.de> <4EDFFC8F.4000102@tpf.co.jp>
* 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