Re: exception handling in plpgsql

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Sibtay Abbas <sibtay_abbas(at)yahoo(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: exception handling in plpgsql
Date: 2004-12-31 22:44:00
Message-ID: 20041231224400.GC24310@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-12-31 23:02:36 Re: exception handling in plpgsql
Previous Message Tom Lane 2004-12-31 20:53:24 Re: sysv_shmem potential problem