is there any reason why don't create context info for RAISE EXCEPTION?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: is there any reason why don't create context info for RAISE EXCEPTION?
Date: 2011-06-02 06:29:08
Message-ID: BANLkTim=u286M55C_Fi63jNjZ2x_4vOYuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

I am playing with context callback functions. I found so we leave
early this function, when exception is raised by RAISE statement.

I can understand it when level is NOTICE, but it is strange for other
levels. More we can emulate any exception now, but these exceptions
are hidden in context.

Is there some reason why we do it?

I am thinking so more practical is setting estate->err_text =
raise_skip_message only for level NOTICE.

Regards

Pavel Stehule

Browse pgsql-hackers by date

  From Date Subject
Next Message Jaime Casanova 2011-06-02 06:34:40 Re: Re: patch review : Add ability to constrain backend temporary file space
Previous Message Nick Raj 2011-06-02 05:16:17 Re: Cube Index Size