Re: bug w/ cursors and savepoints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug w/ cursors and savepoints
Дата
Msg-id 4843.1106674377@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bug w/ cursors and savepoints  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: bug w/ cursors and savepoints  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
I wrote:
> So I think the rule ought to be that cursors
> created inside a failed subtransaction go away.

Other bits of recollection bubbling up: I think that one reason we made
portals not go away instantly on error is that the JDBC guys objected,
feeling that it made for weird special cases at the protocol level.

So the right fix might involve putting the portal into PORTAL_FAILED
state rather than just zapping it completely.
        regards, tom lane


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

Предыдущее
От: Nicolai Tufar
Дата:
Сообщение: Re: Goals for 8.1
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: improved support for compounds in tsearch2