pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Dave Page <dpage@postgresql.org>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Updatable cursors - applications?
Date: Wed, 31 Jan 2007 13:21:58 +0900
Message-ID: <45C01966.6060108@tpf.co.jp> (raw)
In-Reply-To: <45BDCD60.7010208@postgresql.org>
References: <45BDCD60.7010208@postgresql.org>

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




view thread (7+ messages)  latest in thread

Message-ID: <45C01966.6060108@tpf.co.jp>
Permalink:  ../45C01966.6060108@tpf.co.jp/
Also on:    postgresql.org/message-id/45C01966.6060108@tpf.co.jp

 · 

reply

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, dpage@postgresql.org
  Subject: Re: Updatable cursors - applications?
  In-Reply-To: <45C01966.6060108@tpf.co.jp>
  References: <45BDCD60.7010208@postgresql.org> <45C01966.6060108@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