Re: Segmentation fault with PG-12

Поиск
Список
Период
Сортировка
От Andreas Joseph Krogh
Тема Re: Segmentation fault with PG-12
Дата
Msg-id VisenaEmail.11f.58514559296fe1e1.16dacaab834@tc7-visena
обсуждение исходный текст
Ответ на Re: Segmentation fault with PG-12  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
På tirsdag 08. oktober 2019 kl. 17:24:21, skrev Tom Lane <tgl@sss.pgh.pa.us>:
Andreas Joseph Krogh <andreas@visena.com> writes:
> Will running a debug-enabled build slow things noticably down?

gcc promises that the generated code is the same with or without debug.
I think clang does too.  With other compilers you may pay some penalty.
 
 
Nice, I'm using the ubuntu-packages, so I'll go ahead and install postgresql-12-dbgsym
 
> Is there a way
> to make it dump a stack-trace (or back-trace in C-land?) on sig11?

You should be able to get a core file from which you can extract a
stack trace (and other info) after the fact.

https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
 
I'll look into that, thanks.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Вложения

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

Предыдущее
От: Shatamjeev Dewan
Дата:
Сообщение: RE: Declarative Range Partitioning Postgres 11
Следующее
От: Ron
Дата:
Сообщение: Re: Declarative Range Partitioning Postgres 11