Re: more backtraces

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: more backtraces
Дата
Msg-id 20191215212849.GA28794@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: more backtraces  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2019-Dec-15, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:

> > Being able to get debugging information from
> > failures that happen on those installations that enables us to fix
> > things without having to go through a time-consuming process of
> > guesswork and attempted reproduction is really valuable. A stack trace
> > can turn a lengthy nightmare into a quick fix.
> 
> I think you are supposing that these traces will be as useful as gdb
> traces.  They won't.  In particular, where a gdb trace will almost
> always localize the problem to a line of C code, with these you're
> quite lucky if you can even localize to a specific function.

That's already been my experience :-(

> I think that the most useful next steps would involve trying to get
> better printouts from the cases this code already traps,

+1

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: On disable_cost
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: psql's \watch is broken