Re: scrollable cursor sup. for SPI

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: scrollable cursor sup. for SPI
Дата
Msg-id BAY20-F89195A851D0C3CB2065F5F9B40@phx.gbl
обсуждение исходный текст
Ответ на Re: scrollable cursor sup. for SPI  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
>
>"Pavel Stehule" <pavel.stehule@hotmail.com> writes:
> > if I comprehended it well CURSOR_OPT_SCROLL is set only when SCROLL is
>cheap
> > (not when is possible). It's true?
>
>Nope.  If you want a scrollable plan you need to make sure you tell the
>planner about it.  SPI_cursor_open is not in charge, it's merely looking
>at what the planner did.

aha. Then modification of open function hasn't sence. But it needs enhance
SPI_prepare. I don't know  when cursors are not scrollable implicitly. it
it's important. If not, then I need for scrollable cursors in plpgsql only
fetch and move scroll funcs.

Pavel Stehule

_________________________________________________________________
Citite se osamele? Poznejte nekoho vyjmecneho diky Match.com.
http://www.msn.cz/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dumpall default database
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: pg_dumpall default database