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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема is there any reason why don't create context info for RAISE EXCEPTION?
Дата
Msg-id BANLkTim=u286M55C_Fi63jNjZ2x_4vOYuw@mail.gmail.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Nick Raj
Дата:
Сообщение: Re: Cube Index Size
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: Re: patch review : Add ability to constrain backend temporary file space