Re: Bug in PL/pgSQL FOR cursor variant

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Bug in PL/pgSQL FOR cursor variant
Дата
Msg-id 4C1FEC95.7090708@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Bug in PL/pgSQL FOR cursor variant  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Bug in PL/pgSQL FOR cursor variant
Список pgsql-bugs
On 22/06/10 00:47, Heikki Linnakangas wrote:
> Maybe it would be easier to somehow protect the portal then, and throw
> an error if you try to close it. We could just mark the portal as
> PORTAL_ACTIVE while we run the user statements, but that would also
> forbid fetching or moving it. I'm thinking of a new "pinned" state,
> which is like PORTAL_READY except that the portal can't be dropped like
> in PORTAL_ACTIVE state.

Like this.

(I'll need to revert the broken commit before applying this)

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Bug in PL/pgSQL FOR cursor variant
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Bug in PL/pgSQL FOR cursor variant