Re: persistent portals/cursors (between transactions)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: persistent portals/cursors (between transactions)
Дата
Msg-id 26443.1011978368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: persistent portals/cursors (between transactions)  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-general
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
>> AccessShareLock would fend off DROP/ALTER TABLE, but not VACUUM anymore.

> Really ? VACUUM FULL conflicts with AccessShareLock from the
> first.

I was speaking of lazy VACUUM, of course.

> If new vacuum does wrong thing with persistent read-only cursors
> it would do the wrong thing with the current cursors as well.

No, because current cursors don't span transactions.

> Of cource as Vadim mentioned before, HeapTupleSatisfiesVacuum()
> should take the transaction id in which the cursor was opened into
> account.

I haven't read all of that thread yet; maybe Vadim already had the idea
I just had of playing games with oldest-XMIN.

            regards, tom lane

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

Предыдущее
От: Fran Fabrizio
Дата:
Сообщение: grant the right to select only certain rows?
Следующее
От: "Gregory Wood"
Дата:
Сообщение: Re: grant the right to select only certain rows?