> On 20 Jun 2018, at 17:10, Craig Ringer <cr...@2ndquadrant.com> wrote:

> BTW, Álvaro posted a simpler patch at 
> https://www.postgresql.org/message-id/20180410213203.nl645o5vj5ap66sl@alvherre.pgsql.
>  It uses backtrace() from glibc, and requires each site you want to bt to be 
> annotated explicitly. I forgot about backtrace() completely when I wrote 
> mine, and I prefer the control libunwind gives me anyway, but the reduced 
> dependency would be nice. Especially since backtrace() is in FreeBSD too.

Just as a datapoint regarding this; backtrace() is not available in OpenBSD,
but there is a library in ports which implements it, libexecinfo.

cheers ./daniel

Reply via email to