Re: persistent portals/cursors (between transactions)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: persistent portals/cursors (between transactions)
Дата
Msg-id 200201250432.g0P4Wng10381@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: persistent portals/cursors (between transactions)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: persistent portals/cursors (between transactions)  (Jan Wieck <janwieck@yahoo.com>)
Список 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.

I assumed it would be an in-memory copy of the cursor, like a portal
that doesn't go away on transaction exit.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

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