Re: errbacktrace - Mailing list pgsql-hackers

From Tom Lane
Subject Re: errbacktrace
Date
Msg-id 19774.1563826258@sss.pgh.pa.us
Whole thread Raw
In response to Re: errbacktrace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> 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.

Oh, wait, it's writing to fileno(stderr) so it couldn't be
buffering anything.  Disregard ...

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: errbacktrace
Next
From: Nikita Glukhov
Date:
Subject: Re: Psql patch to show access methods info