Re: errbacktrace

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: errbacktrace
Дата
Msg-id 14871.1563825935@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: errbacktrace  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: errbacktrace  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: errbacktrace
Следующее
От: Tom Lane
Дата:
Сообщение: Re: errbacktrace