| От | Tom Lane |
|---|---|
| Тема | Re: Options for protocol level cursors |
| Дата | |
| Msg-id | 15533.1213311559@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Options for protocol level cursors (James William Pye <pgsql@jwp.name>) |
| Ответы |
Re: Options for protocol level cursors
|
| Список | pgsql-hackers |
James William Pye <pgsql@jwp.name> writes:
> 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.
Sure, but if you're willing to use a SQL-level operation on the portal
then you could perfectly well declare the cursor at SQL level too.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера