Re: Error handling in plperl and pltcl

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: Error handling in plperl and pltcl
Дата
Msg-id 41ADDA0B.8050506@mailblocks.com
обсуждение исходный текст
Ответ на Re: Error handling in plperl and pltcl  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-hackers
Jan Wieck wrote:

> This all would mean that however deeply nested a function call tree, 
> it would unwind and rollback everything up to the outermost catch. If 
> there is no catch used, no subtransactions are created and the 
> unwinding goes all the way up to the statement. If catch is used but 
> no spi access performed inside, no subtransaction overhead either.

Yes, this makes a lot of sense. No overhead unless you want to. Way to go.

I wish I could do the same in PL/Java.

Regards,
Thomas Hallgren



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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: [GENERAL] Adding Reply-To: to Lists configuration ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Adding Reply-To: to Lists configuration ...