Re: persistent portals/cursors (between transactions)

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: persistent portals/cursors (between transactions)
Дата
Msg-id 3C510D24.8E1FDF7F@tpf.co.jp
обсуждение исходный текст
Ответ на Re: persistent portals/cursors (between transactions)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: persistent portals/cursors (between transactions)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
>
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> I forgot to mention that I'd like to implement a cross
> >> transaction insensitive(and read-only) cursors which
> >> any proper dbms seems to have the functionality.
>
> > That is a good idea, especially read-only, that will not require any
> > locks.
>
> If it's not holding any locks, I can guarantee you it's not insensitive.
> Consider VACUUM, or even DROP TABLE.

It's already possible to keep a lock accross transactions.
So it would keep an AccessShareLock across transactions.

regards,
Hiroshi Inoue

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: persistent portals/cursors (between transactions)
Следующее
От: Florian Wunderlich
Дата:
Сообщение: Re: persistent portals/cursors (between transactions)