trap for any exception - Mailing list pgsql-sql

From Sabin Coanda
Subject trap for any exception
Date
Msg-id fhhihd$1h5j$1@news.hub.org
Whole thread Raw
Responses Re: trap for any exception  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-sql
Hi there,

I'd like to build a PL/pgSQL function which is able to generic trap any 
error, and interpret it.

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 
?

TIA,
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