Re: Debugging bootstrap - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Debugging bootstrap
Date
Msg-id 24090.1034462568@sss.pgh.pa.us
Whole thread Raw
In response to Debugging bootstrap  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> Is there some established way of debugging the bootstrapping sequence?
> If not, does anyone have a tip on how would one do it?
> I mean getting the standalone boostrapping backend into gdb...

I'd just run the backend under gdb, passing it the same command line
and stdin file as initdb would provide.  Don't forget to initialize
the data directory as much as initdb would do, too.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Warren Massengill"
Date:
Subject: Re: cross-posts (was Re: [GENERAL] Large databases,
Next
From: Tom Lane
Date:
Subject: Re: pgsql 7.2.3 crash