Re: [BUGS] signal 11 segfaults with parallel workers - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] signal 11 segfaults with parallel workers
Date
Msg-id 13841.1501202904@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] signal 11 segfaults with parallel workers  (Rick Otten <rottenwindfish@gmail.com>)
Responses Re: [BUGS] signal 11 segfaults with parallel workers
List 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 by date:

Previous
From: Rick Otten
Date:
Subject: Re: [BUGS] signal 11 segfaults with parallel workers
Next
From: Rick Otten
Date:
Subject: Re: [BUGS] signal 11 segfaults with parallel workers