X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 074214758DC for ; Sun, 23 Feb 2003 06:13:34 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 69804-10 for ; Sun, 23 Feb 2003 06:13:23 -0500 (EST) Received: from mail.bacchus.com.au (mail.bacchus.com.au [203.22.71.65]) by postgresql.org (Postfix) with ESMTP id A309E474E5C for ; Sun, 23 Feb 2003 06:13:22 -0500 (EST) Received: from joe ([203.185.231.74]) by mail.bacchus.com.au (8.12.5/8.12.5) with SMTP id h1NBDDkw021944 for ; Sun, 23 Feb 2003 21:13:13 +1000 Message-Id: <200302231113.h1NBDDkw021944@mail.bacchus.com.au> Date: Sun, 23 Feb 2003 22:11:38 +1100 To: pgsql-sql@postgresql.org From: "Wayne Armstrong" Reply-To: "Wayne Armstrong" Subject: Porting from db2 problem MIME-Version: 1.0 X-Mailer: The Polarbar Mailer; version=1.24c; build=1746 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/508 X-Sequence-Number: 11906 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