custome exception handling support ?

Lists: pgsql-hackers
From: Ali Baba <idofyear(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: custome exception handling support ?
Date: 2005-03-21 06:21:08
Message-ID: 20050321062108.68894.qmail@web52501.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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


From: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
To: Ali Baba <idofyear(at)yahoo(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: custome exception handling support ?
Date: 2005-03-21 06:59:55
Message-ID: Pine.LNX.4.44.0503210756370.5482-100000@kix.fsv.cvut.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> 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