Re: Bug in plpython's Python Generators

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: Bug in plpython's Python Generators
Дата
Msg-id AANLkTi=Ai6dioMPWaBcZCoRWkMgF4Gq=uQCaX9NL1UrG@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug in plpython's Python Generators  (Jan Urbański <wulczer@wulczer.org>)
Список pgsql-hackers
On Sun, Oct 24, 2010 at 01:32, Jan Urbański <wulczer@wulczer.org> wrote:
> The error handling in plpython is well-known to be a mess, hence the
> confusing error message that OP got. Another annoying thing is that SPI
> calls are not done in a subtransaction, which means you can't trap
> errors with a try/catch Python construct. I'm currently trying to get
> try/catch to work and might end up cleaning up error handling as well...
> but this can take me some time, so maybe someone should plug this
> particular hole right away.

While on this topic, maybe you can chime in on the pgsql-docs list for
my documentation patches to document the current (broken) behavior?

Regards,
Marti


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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: wCTE behaviour
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: HOT updates in index-less tables