Re: scrollable cursor support without MOVE statement

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: scrollable cursor support without MOVE statement
Дата
Msg-id 1176763341.3635.384.camel@silverbirch.site
обсуждение исходный текст
Ответ на Re: scrollable cursor support without MOVE statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: scrollable cursor support without MOVE statement
Список pgsql-patches
On Mon, 2007-04-16 at 18:18 -0400, Tom Lane wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> > I'm concerned that many PL/pgSQL routines will now run slower because
> > they may now be considered scrollable when they previously were not.
>
> There is no change in the default behavior.

Previously:
- PL/pgSQL cursors were non-scrollable
- DECLARE CURSOR cursors were not non-scrollable by default

The new docs say it is "query dependent", whereas previously the default
was non-scrollable. That sounds like a change in the default behaviour,
so I'm trying to dig a little deeper.

Are you saying that if I don't say anything at all then a cursor will be
non-scrollable?

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



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

Предыдущее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: [HACKERS] Re: IDENTITY/GENERATED v36 Re: Final version of IDENTITY/GENERATED patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: scrollable cursor support without MOVE statement