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.



Reply via email to