Re: Updatable cursors thoughts

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Updatable cursors thoughts
Дата
Msg-id 1181517170.3620.64.camel@silverbirch.site
обсуждение исходный текст
Ответ на Updatable cursors thoughts  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Updatable cursors thoughts  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 2007-06-09 at 16:25 -0400, Tom Lane wrote:

> What I think we could do instead is not change any existing behavior of
> cursor declarations, but when WHERE CURRENT OF is used, dig through the
> execution node tree of the cursor to find the scan node for the target
> table. 

Sounds good. The cost is paid by the WHERE CURRENT OF query, not as an
overhead on all cursors. Sounds like it will still be very fast too.

Presumably still disallowing the WITH HOLD case.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: little PITR annoyance
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Truncate Permission