Re: persistent portals/cursors (between transactions)

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: persistent portals/cursors (between transactions)
Дата
Msg-id EKEJJICOHDIEMGPNIFIJEELHGJAA.Inoue@tpf.co.jp
обсуждение исходный текст
Ответ на Re: persistent portals/cursors (between transactions)  (Florian Wunderlich <fwunderlich@devbrain.de>)
Список pgsql-general
> -----Original Message-----
> From: florian@hq.factor3.com [mailto:florian@hq.factor3.com]On
>
>
> Hiroshi, that's exactly what I need, though I am not sure if we are all
> really talking about the same thing.
>
> In case I misunderstood something: as far as I know, SQL92 defines that
> a cursor is by default sensitive, which means that it displays the data
> from all comitted transactions at any time. If the data changes, so does
> what the cursor returns.

AFAIK SQL92's default is indeterminate which guarantees nothing
about sensitivity. Though we don't have insensitive cursors yet
INSENSITIVE cursors are very natural for MVCC and it's not hard
to implement. In reality the current cursors see no changes after
the cursor was opened other than the ones made by the bakend
itself.

regards,
Hiroshi Inoue

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: grant the right to select only certain rows?
Следующее
От: Frank Joerdens
Дата:
Сообщение: Re: Problems with initdb on Cygwin