Re: backtrace_functions emits trace for any elog

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: backtrace_functions emits trace for any elog
Дата
Msg-id 20230904211318.GB3789310@rfd.leadboat.com
обсуждение исходный текст
Ответ на backtrace_functions emits trace for any elog  (Ilya Gladyshev <ilya.v.gladyshev@gmail.com>)
Список pgsql-hackers
On Mon, Sep 04, 2023 at 09:30:32PM +0100, Ilya Gladyshev wrote:
> I used backtrace_functions to debug one of my ideas and found its behavior counter-intuitive and contradictory to it
owndocs. I think the GUC is supposed to be used to dump backtrace only on elog(ERROR) (should it also be done for
higherlevels? not sure about this), but, in fact, it does that for any log-level. I have attached a patch that checks
log-levelbefore attaching backtrace.
 

This would make the feature much less useful.  Better to change the docs.



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Create shorthand for including all extra tests
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Inefficiency in parallel pg_restore with many tables