Re: Debugging initdb breakage

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Debugging initdb breakage
Date: 2010-10-12 20:05:57
Message-ID: m24ocr2n2y.fsf@2ndQuadrant.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-10-12 20:33:29 Re: host name support in pg_hba.conf
Previous Message Magnus Hagander 2010-10-12 19:57:01 Re: Git cvsserver serious issue