Re: Debugging initdb breakage

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Debugging initdb breakage
Дата
Msg-id 1286894990-sup-8190@alvh.no-ip.org
обсуждение исходный текст
Ответ на Debugging initdb breakage  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Debugging initdb breakage  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
Excerpts from Dimitri Fontaine's message of dom oct 10 17:38:01 -0300 2010:
> Hi,
> 
> So I'm beginning to work on the extension support for dump and restore,
> and that begins with a new pg_extension catalog. I managed to break
> initdb already, of course, but I'm fighting my way out — no luck with
> gdb, it won't catch the Assert failure and show me a backtrace. I tried
> "set follow-fork-mode child" in gdb, in different systems, to no avail.

As a note, I've had luck finding bootstrap-time bugs by manually feeding
the bootstrapping commands into bootstrap mode, with a leftover dir from
"initdb --noclean".  This has helped a few times that there has been no
PANIC but just a FATAL or ERROR, for example.  It's easy to attach GDB
to such a backend.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: [JDBC] Support for JDBC setQueryTimeout, et al.