Re: Error handling in stored functions/procedures - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: Error handling in stored functions/procedures
Date
Msg-id 20040601071045.B610@hermes.hilbert.loc
Whole thread Raw
In response to Re: Error handling in stored functions/procedures  (Jurgen Defurne <jurgen.defurne@pandora.be>)
List 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 by date:

Previous
From: Bret Busby
Date:
Subject: Re: book for postgresql
Next
From: Karsten Hilbert
Date:
Subject: Re: Poatgresql database on more than one disk