Re: [BUGS] signal 11 segfaults with parallel workers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] signal 11 segfaults with parallel workers
Дата
Msg-id 13841.1501202904@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] signal 11 segfaults with parallel workers  (Rick Otten <rottenwindfish@gmail.com>)
Ответы Re: [BUGS] signal 11 segfaults with parallel workers  (Rick Otten <rottenwindfish@gmail.com>)
Список pgsql-bugs
Rick Otten <rottenwindfish@gmail.com> writes:
> Is enabling DEBUG in the postgresql.conf sufficient to enable debug symbols
> in the core, or do I have to rebuild the postgresql binaries to get that?

You would need to recompile (with --enable-debug added to configure
switches) if they're not there already.  But if you used somebody's
packaging rather than a homebrew build, you can probably get the
symbols installed without doing your own build.

> Is the core of any use without debug symbols enabled?

You should still be able to get a stack trace out of it, but the trace
would be much more informative with debug symbols.  See
https://wiki.postgresql.org/wiki/Getting_a_stack_trace_of_a_running_PostgreSQL_backend_on_Linux/BSD
        regards, tom lane


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Rick Otten
Дата:
Сообщение: Re: [BUGS] signal 11 segfaults with parallel workers
Следующее
От: Rick Otten
Дата:
Сообщение: Re: [BUGS] signal 11 segfaults with parallel workers