Re: backtrace_on_internal_error

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: backtrace_on_internal_error
Дата
Msg-id CA+Tgmoas4qK-Um-RwSLAUXfKN+UothbofQ_3pfDtWGdrtaBNtA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: backtrace_on_internal_error  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: backtrace_on_internal_error  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers
On Tue, Dec 5, 2023 at 12:40 PM Nathan Bossart <nathandbossart@gmail.com> wrote:
> On Tue, Dec 05, 2023 at 11:55:05AM +0100, Peter Eisentraut wrote:
> > Would others find this useful?
>
> Yes.  I think I would use this pretty frequently.

I think we should consider unconditionally emitting a backtrace when
an elog() is hit, instead of requiring a GUC. Or at least any elog()
that's not at a DEBUGn level. If the extra output annoys anybody, that
means they're regularly hitting an elog(), and it ought to be promoted
to ereport().

--
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: trying again to get incremental backup
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Make COPY format extendable: Extract COPY TO format implementations