Porting from db2 problem

From: "Wayne Armstrong" <wdarmst(at)bacchus(dot)com(dot)au>
To: pgsql-sql(at)postgresql(dot)org
Subject: Porting from db2 problem
Date: 2003-02-23 11:11:38
Message-ID: 200302231113.h1NBDDkw021944@mail.bacchus.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,
I am trying to port an app that currently runs over db2 and oracle (on windows
os/2 linux hpux aix etc) to also run over postgres.
I am currently porting the windows client (using odbc).
I am having major problems because of the lack of with hold cursors (cursors
that remain open over a commit) in postgres. There are a lot of places where
the app will - open a cursor with hold - fetch the first 20 or so rows, allow
the user to scroll thru the result set, updating and commiting changes to
particular rows as they go. When the user gets to the end of the current set of
fetched rows - the app will fetch the next 20 or so during a scroll down
operation etc. The user may hold the read-only cursor over the result-set all
day, and it is important that rows that they do update, be immediately
available for other users.

What do folk do to support this kind of scenario in the abscence of with hold
cursors ?
Is implementation of with hold cursors likely in the near future?

Regards,
Wayne

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-02-23 16:34:21 Re: how to return ONE single record from a function in plpgsql?
Previous Message Hubert depesz Lubaczewski 2003-02-23 10:47:31 how to return ONE single record from a function in plpgsql?