Re: [RFC] obtaining the function call stack

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [RFC] obtaining the function call stack
Дата
Msg-id 27995.1247511737@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [RFC] obtaining the function call stack  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [RFC] obtaining the function call stack  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: [RFC] obtaining the function call stack  (decibel <decibel@decibel.org>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> So, the idea is to have a stack maintained by the function manager; each
> called function enters an element in it containing the interesting
> information about the function.  We'd have another function that would
> return this stack as a result set.  (With this arrangement, the topmost
> element would always appear to be this "peek" function.)

> I haven't looked at the code to see how this would actually be
> implemented, so I don't have more details to offer.  Does anybody have
> opinions on the matter?

The performance and error recovery implications are unfavorable.
Just how badly do you need this, and for what?
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: [RFC] obtaining the function call stack
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Predicate migration on complex self joins