Re: proposal: enhanced get diagnostics statement

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: proposal: enhanced get diagnostics statement
Дата
Msg-id 1306014993-sup-3896@alvh.no-ip.org
обсуждение исходный текст
Ответ на proposal: enhanced get diagnostics statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal: enhanced get diagnostics statement
Re: proposal: enhanced get diagnostics statement
Список pgsql-hackers
Excerpts from Pavel Stehule's message of sáb may 21 16:05:01 -0400 2011:

> A implementation of ERROR_CONTEXT is not without impact on
> performance, because context should be collected when exception is
> caught. One solution is removing a ERROR_CONTEXT from proposal. Second
> solution can be a design of enhanced syntax for exception trap like
> (it means - collect CONTEXT when exception is handled)

I don't understand why we should worry about this.  I mean, if you don't
catch the error, you have to form errcontext anyway.  Why is it a
problem to generate it when the exception is caught?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: about EDITOR_LINENUMBER_SWITCH
Следующее
От: Robert Haas
Дата:
Сообщение: Re: eviscerating the parser