custome exception handling support ?

Started by Ali Babaalmost 21 years ago2 messages
#1Ali Baba
idofyear@yahoo.com

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

#2Pavel Stehule
stehule@kix.fsv.cvut.cz
In reply to: Ali Baba (#1)
Re: custome exception handling support ?

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