Modify the DECLARE CURSOR command tag depending on the scrollable flag

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема Modify the DECLARE CURSOR command tag depending on the scrollable flag
Дата
Msg-id 528CBD60.9030706@cybertec.at
обсуждение исходный текст
Ответ на ECPG fixes, was: Re: ECPG FETCH readahead  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: Modify the DECLARE CURSOR command tag depending on the scrollable flag  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2013-11-20 14:41 keltezéssel, Boszormenyi Zoltan írta:
> 2013-11-12 07:15 keltezéssel, Boszormenyi Zoltan írta:
>> 2013-11-12 07:01 keltezéssel, Noah Misch írta:
>>> On Mon, Nov 11, 2013 at 10:17:54AM +0100, Boszormenyi Zoltan wrote:
>>>> The old contents of my GIT repository was removed so you need to
>>>> clone it fresh. https://github.com/zboszor/ecpg-readahead.git
>>>> I won't post the humongous patch again, since sending a 90KB
>>>> compressed file to everyone on the list is rude.
>>> Patches of that weight show up on a regular basis.  I don't think it's rude.
>>
>> OK, here it is.
>
> ...
> Subsequent patches will come as reply to this email.

Attached is the patch that modified the command tag returned by
the DECLARE CURSOR command. It returns "DECLARE SCROLL CURSOR"
or "DECLARE NO SCROLL CURSOR" depending on the cursor's
scrollable flag that can be determined internally even if neither is
asked explicitly.

It is expected by the ECPG cursor readahead code.

Best regards,
Zoltán Böszörményi

--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
      http://www.postgresql.at/


Вложения

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

Предыдущее
От: Boszormenyi Zoltan
Дата:
Сообщение: ECPG fixes, was: Re: ECPG FETCH readahead
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: ECPG infrastructure changes part 1, was: Re: ECPG fixes