| От | Karsten Hilbert |
|---|---|
| Тема | Re: Error handling in stored functions/procedures |
| Дата | |
| Msg-id | 20040601071045.B610@hermes.hilbert.loc обсуждение |
| Ответ на | Re: Error handling in stored functions/procedures (Jurgen Defurne <jurgen.defurne@pandora.be>) |
| Список | pgsql-general |
> You mean that the default generated error messages contain some more > information I presume, like the table name and the constraint name ? Even better, the information is *structured* afaik. > I think I noticed that already, and since I had time since yesterday > evening, I thought things over and came to the conclusion that this > mechanism at least gives an escape hatch, since it is possible to give a > name to each constraint, and then use this name as an index to get a > proper error message. For check constraints you can even name them yourself during table creation. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера