pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Updateable Cursors with current PostgreSQL versions
2+ messages / 2 participants
[nested] [flat]

* Updateable Cursors with current PostgreSQL versions
@ 2011-12-07 17:00  JUNG, Christian <christian.jung@shsservices.org>
  0 siblings, 1 reply; 2+ messages in thread

From: JUNG, Christian @ 2011-12-07 17:00 UTC (permalink / raw)
  To: pgsql-odbc

Hello,

the ODBC-driver has an option to emulate updateable cursors (default "on"). 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

-- 
phone: +49 6898/10-4987
web  : www.shsservices.org
mail : Hofstattstraße 106a
       D 66333 Voelklingen


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Updateable Cursors with current PostgreSQL versions
@ 2011-12-07 23:53  Inoue, Hiroshi <inoue@tpf.co.jp>
  parent: JUNG, Christian <christian.jung@shsservices.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Inoue, Hiroshi @ 2011-12-07 23:53 UTC (permalink / raw)
  To: JUNG, Christian <christian.jung@shsservices.org>; +Cc: 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
>




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2011-12-07 23:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-12-07 17:00 Updateable Cursors with current PostgreSQL versions JUNG, Christian <christian.jung@shsservices.org>
2011-12-07 23:53 ` Inoue, Hiroshi <inoue@tpf.co.jp>

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