Re: Recovering from an exception

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: Recovering from an exception
Дата
Msg-id op.wp9e77u4ye4vw9@blue.lan
обсуждение исходный текст
Ответ на Re: Recovering from an exception  ("Marko Tiikkaja" <pgmail@joh.to>)
Список pgsql-general
On Wed, 02 Jan 2013 01:16:11 +0100, I wrote:
> I'm puzzled as to why AtEOSubXact_SPI() needs to unconditionally clear
> the surround SPI context, or why it assumes it's a good idea.

I managed to fix this by creating my own SPI context outside the
subtransaction for AtEOSubXact_SPI() to destroy, and everything appears to
be working correctly.


Regards,
Marko Tiikkaja


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

Предыдущее
От: "Marko Tiikkaja"
Дата:
Сообщение: Re: Recovering from an exception
Следующее
От: Ali Pouya
Дата:
Сообщение: Using the NEW record in an EXECUTE command in a PL/pgSQL trigger function