| От | Stephan Szabo |
|---|---|
| Тема | Re: plpgsql error handling bug |
| Дата | |
| Msg-id | 20040905101205.F29858@megazone.bigpanda.com обсуждение исходный текст |
| Ответ на | plpgsql error handling bug (Ivan-Sun1@mail.ru) |
| Список | pgsql-bugs |
On Sun, 5 Sep 2004 Ivan-Sun1@mail.ru wrote: > I found a bug in the behaviour of plpgsql error handling system > while trying to handle foreign key violation exception. > > When this error occured, control doesn't jump to exception handling block. > It moves to the next statement instead. When control leaves the > function exception is occured. So it's impossible to handle this kind of > exception. IIRC that's because the check is not happening until after the function is finished (at the end of the user sent statement). If so, then yes, currently there'd be no way to handle the exception.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера