Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group