Re: Error handling in stored functions/procedures

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Bret Busby
Дата:
Сообщение: Re: book for postgresql
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: Poatgresql database on more than one disk