Re: trap for any exception - Mailing list pgsql-sql

From Sabin Coanda
Subject Re: trap for any exception
Date
Msg-id fhhits$1ico$1@news.hub.org
Whole thread Raw
In response to trap for any exception  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
Responses Re: trap for any exception
List 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 




pgsql-sql by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: postgres bogged down beyond tolerance
Next
From: "Sabin Coanda"
Date:
Subject: Re: trap for any exception