pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sabin Coanda <sabin.coanda@deuromedia.ro>
To: pgsql-sql@postgresql.org
Subject: Re: trap for any exception
Date: Thu, 15 Nov 2007 15:52:02 +0200
Message-ID: <fhhits$1ico$1@news.hub.org> (raw)
References: <fhhihd$1h5j$1@news.hub.org>

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





view thread (6+ messages)  latest in thread

Message-ID: <fhhits$1ico$1@news.hub.org>
Permalink:  ../fhhits$1ico$1@news.hub.org/
Also on:    postgresql.org/message-id/fhhits$1ico$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sabin.coanda@deuromedia.ro
  Subject: Re: trap for any exception
  In-Reply-To: <fhhits$1ico$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox