Re: Ideas for easier debugging of backend problems

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Ideas for easier debugging of backend problems
Дата
Msg-id 200511011233.39589.peter_e@gmx.net
обсуждение исходный текст
Ответ на Ideas for easier debugging of backend problems  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Ideas for easier debugging of backend problems  ("Jim C. Nasby" <jnasby@pervasive.com>)
Re: Ideas for easier debugging of backend problems  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Re: Ideas for easier debugging of backend problems  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
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.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: strk@refractions.net
Дата:
Сообщение: FreeBSD broke with autoconf-based build
Следующее
От: Salman Razzaq
Дата:
Сообщение: Adding a column in pg_proc for storing default values of arguments