Re: Preventing stack-overflow crashes (improving on max_expr_depth)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Preventing stack-overflow crashes (improving on max_expr_depth)
Дата
Msg-id 7514.1072844387@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Preventing stack-overflow crashes (improving on max_expr_depth)  (Mike Mascari <mascarm@mascari.com>)
Список pgsql-hackers
Mike Mascari <mascarm@mascari.com> writes:
> Would it make sense to also have a nice little global function and/or 
> macro available for the author of C-language recursive functions to 
> perform a depth test before recursing?

Yeah, I envision presenting this as a nice little macro along the lines
of CHECK_STACK_OVERFLOW().  The hard part will really be deciding where
it needs to be called.
        regards, tom lane


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

Предыдущее
От: Mike Mascari
Дата:
Сообщение: Re: Preventing stack-overflow crashes (improving on max_expr_depth)
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: [PATCHES] Quoting of psql \d output