SPI_exec() + PG_TRY/PG_CATCH

Поиск
Список
Период
Сортировка
От Aleksandrs Vinogradovs
Тема SPI_exec() + PG_TRY/PG_CATCH
Дата
Msg-id 1192557036.1484.4.camel@localhost
обсуждение исходный текст
Ответы Re: SPI_exec() + PG_TRY/PG_CATCH
Список pgsql-general

Guys,


So I haven't got my question answered, thus trying it again ;)

How do I handle SPI errors properly without rethrowing them or
using subtransactions ? My current code works (simple PG_CATCH()
with resseting of error state), but reports reference leaks for
every failed SPI_exec() call...

Thanks!


Best regards,
Alex Vinogradovs

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