On Thu, Mar 06, 2014 at 12:02:50PM -0500, Tom Lane wrote:
> hubert depesz lubaczewski <depesz@depesz.com> writes:
> > I didn't have a chance to do it. Can try if there is a way to get trace
> > *without* making core (sorry, my c/gdb knowledge is very, very limited).
>
> Sure, you just attach to the process:
>
> $ gdb /path/to/postgres PID-of-process
> gdb> bt
> gdb> quit
>
> This is usually preferable to forcing a core dump.
Thank you. If the problem will strike again, I will do it on all (or
most, depending how fast I can make it) backends.
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/