Re: [HACKERS] dec alpha/64bit stuff

Brett McCormick <brett@work.chicken.org>

From: Brett McCormick <brett@work.chicken.org>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: lockhart@alumni.caltech.edu (Thomas G. Lockhart), pgsql-hackers@hub.org, scrappy@postgreSQL.org (Marc G. Fournier)
Date: 1998-03-08T23:03:44Z
Lists: pgsql-hackers
On Sat, 7 March 1998, at 18:10:36, Bruce Momjian wrote:

> OK, I have an idea.  Contact Marc, scrappy@postgresql.org.  Have him
> give you a login account to postgresql.org.  Use cvs to pull snapshots
> by date.  Compile and run initdb on several dates,  and by process of
> elimination, find out the day that alpha broke.

That's what I've been thinking of, but I haven't had a chance to get
the cvs archive yet.

> 
> We can then analyze the patches for that day and find the problem.  I
> assume 6.2.1 worked for you, and that was October 17th.  Go from there
> to the 6.3 release and find the date of failure.
> 
> With initdb problems, there is really no good way to debug problems like
> this.

I found a decent way.  I just put a printf(getpid()), sleep 10 in
BootstrapMain.  Then I run initdb in one window and gdb in another,
attaching gdb to that postgres -boot process.  Worked fairly well
until I got stumped by the page stuff.