Re: Options for protocol level cursors

Поиск
Список
Период
Сортировка
От James William Pye
Тема Re: Options for protocol level cursors
Дата
Msg-id 142CED17-AEFE-4002-BC62-58D107E29589@jwp.name
обсуждение исходный текст
Ответ на Re: Options for protocol level cursors  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Options for protocol level cursors
Список pgsql-hackers
On Jun 12, 2008, at 10:08 AM, Tom Lane wrote:

> James William Pye <pgsql@jwp.name> writes:
>> Is there anyway to bind a cursor with SCROLL and WITH HOLD at the
>> protocol level?
>
> No, and for at least the first of those I don't see the point,
> since the protocol doesn't offer any behavior other than forward
> fetch.

That protocol level inability doesn't keep you from using MOVE on  
cursor's name.
And yes, it yield the appropriate errors when you try to MOVE  
backwards on a protocol declared cursor.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Options for protocol level cursors
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Overhauling GUCS