Re: cvs head initdb hangs on unixware

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: ohp@pyrenet.fr, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Zdenek Kotala <Zdenek.Kotala@Sun.COM>, pgsql-hackers list <pgsql-hackers@postgresql.org>
Date: 2008-12-03T22:46:15Z
Lists: pgsql-hackers
Andrew Dunstan wrote:
> 
> 
> ohp@pyrenet.fr wrote:
> >>
> >> Looking at fsm_rebuild_page, I wonder if the compiler is treating 
> >> "int" as an unsigned integer? That would cause an infinite loop.
> >>
> >>
> > No, a simple printf of nodeno shows it  starting at 4096 all the way 
> > down to 0, starting back at 4096...
> >
> > I wonder if leftchild/rightchild definitions has something to do with 
> > it...
> 
> With probably no relevance at all, I notice that this routine is 
> declared extern, although it is only referenced in its own file 
> apparently. Don't we have a tool that checks that?

Sure, src/tools/find_static.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +