| От | Tom Lane |
|---|---|
| Тема | Re: Error handling in plperl and pltcl |
| Дата | |
| Msg-id | 342.1100912081@sss.pgh.pa.us обсуждение |
| Ответ на | Error handling in plperl and pltcl (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Error handling in plperl and pltcl
Re: Error handling in plperl and pltcl |
| Список | pgsql-hackers |
Thomas Hallgren <thhal@mailblocks.com> writes:
> My approach with PL/Java is a bit different. While each SPI call is
> using a try/catch they are not using a subtransaction. The catch will
> however set a flag that will ensure two things:
> 1. No more calls can be made from PL/Java to the postgres backend.
> 2. Once PL/Java returns, the error will be re-thrown.
That's what pltcl has always done, and IMHO it pretty well sucks :-(
it's neither intuitive nor useful.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера