Re: Debugging initdb breakage
Dimitri Fontaine <dimitri@2ndquadrant.fr>
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-10-12T20:05:57Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes: > 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. Nice tip, thanks! -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support