Re: Ideas for easier debugging of backend problems - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: Ideas for easier debugging of backend problems
Date
Msg-id 20051101181742.GZ20349@pervasive.com
Whole thread Raw
In response to Re: Ideas for easier debugging of backend problems  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Tue, Nov 01, 2005 at 12:33:39PM +0100, 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.

TODO?
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Debug in dest.h
Next
From: "Jim C. Nasby"
Date:
Subject: Re: slru.c race condition (was Re: TRAP: FailedAssertion("!((itemid)->lp_flags & 0x01)",)