Re: cursors outside transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cursors outside transactions
Дата
Msg-id 19750.1048131493@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cursors outside transactions  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Hiroshi Inoue wrote:
>> AccessShare table locks are only needed.
>> What is wrong with it ?

> But that is going to block VACUUM, right?

No.  It's a matter of bookkeeping more than anything else.  Right now,
transaction end releases all the locks a backend holds.  You'd need to
figure out which locks are associated with cross-transaction cursors
and keep those.  This overlaps to some extent with bookkeeping that we'd
need to add for nested transactions --- but we haven't got a plan for
that, either.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Nested transactions: low level stuff
Следующее
От: "Shridhar Daithankar"
Дата:
Сообщение: Re: [pgsql-advocacy] PostgreSQL flamage on Slashdot