Re: Debugging bootstrap

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Debugging bootstrap
Date: 2002-10-12 22:42:48
Message-ID: 24090.1034462568@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-10-13 01:13:34 Re: pgsql 7.2.3 crash
Previous Message Warren Massengill 2002-10-12 21:54:48 Re: cross-posts (was Re: [GENERAL] Large databases,