Re: errbacktrace - Mailing list pgsql-hackers

From Tom Lane
Subject Re: errbacktrace
Date
Msg-id 14871.1563825935@sss.pgh.pa.us
Whole thread Raw
In response to Re: errbacktrace  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: errbacktrace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Here is an updated patch without the libunwind support, some minor
> cleanups, documentation, and automatic back traces from assertion failures.

Just noticing that ExceptionalCondition has an "fflush(stderr);"
in front of what you added --- perhaps you should also add one
after the backtrace_symbols_fd call?  It's not clear to me that
that function guarantees to fflush, nor do I want to assume that
abort() does.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: errbacktrace
Next
From: Tom Lane
Date:
Subject: Re: errbacktrace