Re: pl/python SPI in subtransactions

Поиск
Список
Период
Сортировка
От Steve Singer
Тема Re: pl/python SPI in subtransactions
Дата
Msg-id BLU0-SMTP275B49B34200AC4A7F053C8EE00@phx.gbl
обсуждение исходный текст
Ответ на Re: pl/python SPI in subtransactions  (Jan Urbański <wulczer@wulczer.org>)
Ответы Re: pl/python SPI in subtransactions  (Jan Urbański <wulczer@wulczer.org>)
Список pgsql-hackers
On 11-01-29 03:39 PM, Jan Urbański wrote:
>
> D'oh, you're right, thanks. Attached patch with fix. Curiosly, right now
> in master your example with plpy.prepare will result in "savepoint"
> being swallowed, but it's of course better to react with an error.
>
> Cheers,
> Jan

This seems to fix it.

You mentioned that you were going to add a few paragraphs to the 
documentation saying that you can now actually catch SPI errors. I 
haven't seen that yet.

Other than that I don't see any issues with the patch and it should be 
ready for a committer.


>
>



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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: pl/python SPI in subtransactions
Следующее
От: Jan Urbański
Дата:
Сообщение: Re: pl/python SPI in subtransactions