Re: trap for any exception

From: "Sabin Coanda" <sabin(dot)coanda(at)deuromedia(dot)ro>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: trap for any exception
Date: 2007-11-15 13:52:02
Message-ID: fhhits$1ico$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> I read 37.7.5. Trapping Errors, but the syntax requires to write
> explicitly the exception condition, and not a generic one.
>
> Is it possible to build a generic trap or do you know a workaround for
> that ?
>
Sorry, I found the OTHERS condition that trap any error.

But the question still remains to find how could I interpret it and found
the error code and message ?

Sabin

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Sabin Coanda 2007-11-15 13:54:13 Re: trap for any exception
Previous Message Sabin Coanda 2007-11-15 13:45:20 trap for any exception