Re: Error handling in plperl and pltcl

Поиск
Список
Период
Сортировка
Искать
От
Thomas Hallgren
Тема
Re: Error handling in plperl and pltcl
Дата
Msg-id
41ADDA0B.8050506@mailblocks.com
Ответ на
Список
Дерево обсуждения
Error handling in plperl and pltcl Tom Lane <tgl@sss.pgh.pa.us>
Re: Error handling in plperl and pltcl James William Pye <flaw@rhid.com>
Re: Error handling in plperl and pltcl Tom Lane <tgl@sss.pgh.pa.us>
Re: Error handling in plperl and pltcl James William Pye <flaw@rhid.com>
Re: Error handling in plperl and pltcl Thomas Hallgren <thhal@mailblocks.com>
Re: Error handling in plperl and pltcl Thomas Hallgren <thhal@mailblocks.com>
Re: Error handling in plperl and pltcl Andrew Dunstan <andrew@dunslane.net>
Re: Error handling in plperl and pltcl Tom Lane <tgl@sss.pgh.pa.us>
Re: Error handling in plperl and pltcl Tom Lane <tgl@sss.pgh.pa.us>
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
Дата:
От: Tom Lane
Дата:
FAQ