Re: EXCEPTION in pl/pgsql - Mailing list pgsql-general

From Hannes Dorbath
Subject Re: EXCEPTION in pl/pgsql
Date
Msg-id 42dd4943$0$3624$8fe63b2a@news.disputo.net
Whole thread Raw
In response to EXCEPTION in pl/pgsql  ("Craig Bryden" <postgresql@bryden.co.za>)
List pgsql-general
On 19.07.2005 20:56, Craig Bryden wrote:
> What is the syntax if I want to use the exception clause in a pl/pgsql
> function, but am not looking for a particular error. Kind of like a "any
> error" type thing.
>

35.7.5. Trapping Errors
http://www.postgresql.org/docs/8.0/interactive/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING

"The special condition name OTHERS matches every error type except
QUERY_CANCELED."

pgsql-general by date:

Previous
From: "Craig Bryden"
Date:
Subject: EXCEPTION in pl/pgsql
Next
From: "Kelvin T. Leung"
Date:
Subject: psql: error while loading shared libraries: psql: undefined symbol: get_progname