Thread: custome exception handling support ?

custome exception handling support ?

From
Ali Baba
Date:
Hi,
i want to add support for exceptions that are
supported in oracle, in plpgsql. 

mainly i am want to add custome exceptions support in
plpgsql. like in Oracle we use 
EXCEPTION myexp

can any body help me.


Regards,
Asif Ali.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: custome exception handling support ?

From
Pavel Stehule
Date:
> Hi,
> i want to add support for exceptions that are
> supported in oracle, in plpgsql. 
> 
> mainly i am want to add custome exceptions support in
> plpgsql. like in Oracle we use 
> EXCEPTION myexp
> 
> can any body help me.

Hello 

http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html#PLPGSQL-ERROR-TRAPPING

But in this time is inpossible get details about exception.

Regards
Pavel Stehule