Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 62B8F9FB3EB for ; Wed, 31 Jan 2007 00:22:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 82954-05 for ; Wed, 31 Jan 2007 00:22:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (dns.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 24A939FB3A8 for ; Wed, 31 Jan 2007 00:22:00 -0400 (AST) Received: (qmail 2585 invoked from network); 31 Jan 2007 13:21:59 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 31 Jan 2007 13:21:59 +0900 Message-ID: <45C01966.6060108@tpf.co.jp> Date: Wed, 31 Jan 2007 13:21:58 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Dave Page CC: pgsql-odbc@postgresql.org Subject: Re: Updatable cursors - applications? References: <45BDCD60.7010208@postgresql.org> In-Reply-To: <45BDCD60.7010208@postgresql.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/79 X-Sequence-Number: 8618 Dave Page wrote: > Does anyone know if there are any apps in existence that can be used as > a good test of the updatable cursor functionality in the driver? > > Hiroshi; do you have a test app for this purpose? > > In case anyone is wondering about my recent obsession with updatable > cursors, there is a patch from EnterpriseDB for PostgreSQL which offers > some quite significant performance benefits, but it does change the way > CTIDs work which the UC feature relies on. The driver relies on the following. 1. TID scans i.e SELECT/UPDATE/DELETE ... where CTID = ... are available. 2. The fucntions currtid(2) returns the latest tid of the given tid. Does the patch change the above behavior ? regards, Hiroshi Inoue