Re: Ideas for easier debugging of backend problems

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: Re: Ideas for easier debugging of backend problems
Date: 2005-11-02 01:20:05
Message-ID: 43681445.4070908@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

What about the Google Core Dumper? :)

http://sourceforge.net/projects/goog-coredumper/

Chris

Peter Eisentraut wrote:
> Martijn van Oosterhout wrote:
>
>>3. Add either a GUC or a command line switch or PGOPTION switch to
>>automatically invoke and attach gdb on certain types of error.
>>Obviously you can only do this where stdin, stdout and stderr have
>>not been redirected.
>
>
> Samba has a configuration parameter that allows you to set an arbitrary
> command as a "panic action" script. This can then be used to gather
> debugging information or prepare a bug report (see other thread). This
> also has the added flexibility that binary packagers can add extra
> information specific to their environment. It may be worthwhile to
> research whether we could do something similar.
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-11-02 01:23:53 Re: 8.1-compatible xlogdump
Previous Message Jonah H. Harris 2005-11-02 01:16:16 8.1-compatible xlogdump