Re: exception handling in plpgsql - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: exception handling in plpgsql
Date
Msg-id 20041231224400.GC24310@winnie.fuhr.org
Whole thread Raw
In response to Re: exception handling in plpgsql  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: exception handling in plpgsql  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Fri, Dec 31, 2004 at 03:18:39PM -0500, Andrew Dunstan wrote:

> It has told you what the problem is. Use a handler for an exception that 
> actually exists. To see what these are, read 
> http://developer.postgresql.org/docs/postgres/plpgsql-errors-and-messages.html

As the PL/pgSQL "Trapping Errors" documentation says, "The _condition_
names can be any of those shown in Appendix A," so a more useful link
would be:

http://developer.postgresql.org/docs/postgres/errcodes-appendix.html

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-hackers by date:

Previous
From: lsunley@mb.sympatico.ca
Date:
Subject: Re: sysv_shmem potential problem
Next
From: Andrew Dunstan
Date:
Subject: Re: exception handling in plpgsql