From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Neil Conway <neilc@samurai.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: updateable cursors & visibility
Date: Sat, 29 Mar 2003 08:05:16 +0900
Message-ID: <EKEJJICOHDIEMGPNIFIJIEDLLBAA.Inoue@tpf.co.jp> (raw)
In-Reply-To: <200303281612.h2SGCOi07483@candle.pha.pa.us>
> -----Original Message-----
> From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
>
> Hiroshi Inoue wrote:
> > > > I don't understand what you two are discussing.
> > > > What's is SENSITIVE, INSENSITIVE or ASESNSITIVE ?
> > >
> > > In SQL99 standard, I see:
> > >
> > > - If the cursor is insensitive, then significant
> changes are not
> > > visible.
> > >
> > > - If the cursor is sensitive, then significant changes are
> > > visible.
> > >
> > > - If the cursor is asensitive, then the visibility
> of significant
> > > changes is implementation-dependent.
> >
> > While a cursor is open, another application inserted a
> > row which satisfies the condition to be contained in
> > the cursor and committed. Then
> > If the cursor is SENSITIVE, must it see the row ?
>
> Right.
>
> > If the cursor is INSENSITIVE, it mustn't see the row ?
>
> Right.
If so, isn't the difference between SENSITIVE and INSENSITIVE extreme ?
Why do you or Peter refer to ASENSITIVE little ?
And what does the following mean ? It is placed just before the sentences
you quoted first.
If a cursor is open, and the SQL-transaction in which the cursor was
opened makes a significant change to SQL-data, then whether that
change is visible through that cursor before it is closed is determined
as follows:
regards,
Hiroshi Inoue
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-hackers@postgresql.org
Cc: Inoue@tpf.co.jp, pgman@candle.pha.pa.us, peter_e@gmx.net, neilc@samurai.com
Subject: Re: updateable cursors & visibility
In-Reply-To: <EKEJJICOHDIEMGPNIFIJIEDLLBAA.Inoue@tpf.co.jp>
References: <200303281612.h2SGCOi07483@candle.pha.pa.us> <EKEJJICOHDIEMGPNIFIJIEDLLBAA.Inoue@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