is there any reason why don't create context info for RAISE EXCEPTION? - Mailing list pgsql-hackers

From Pavel Stehule
Subject is there any reason why don't create context info for RAISE EXCEPTION?
Date
Msg-id BANLkTim=u286M55C_Fi63jNjZ2x_4vOYuw@mail.gmail.com
Whole thread Raw
List 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


pgsql-hackers by date:

Previous
From: Nick Raj
Date:
Subject: Re: Cube Index Size
Next
From: Jaime Casanova
Date:
Subject: Re: Re: patch review : Add ability to constrain backend temporary file space