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. +