Re: Optionally using a better backtrace library?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Optionally using a better backtrace library?
Дата
Msg-id 250d001a-1721-ce0b-888b-db2c29195723@eisentraut.org
обсуждение исходный текст
Ответ на Optionally using a better backtrace library?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 02.07.23 20:31, Andres Freund wrote:
> A lot of platforms have "libbacktrace" available, e.g. as part of gcc. I think
> we should consider using it, when available, to produce more useful
> backtraces.
> 
> I hacked it up for ereport() to debug something, and the backtraces are
> considerably better:

Makes sense.  When we first added backtrace support, we considered 
libunwind, which didn't really give better backtraces than the built-in 
stuff, so it wasn't worth dealing with an additional dependency.




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

Предыдущее
От: Vik Fearing
Дата:
Сообщение: Re: Add support for AT LOCAL
Следующее
От: "Tristan Partin"
Дата:
Сообщение: Re: BUG #17946: LC_MONETARY & DO LANGUAGE plperl - BUG